Skip to content

Commit

Permalink
Also check allowList without protocol part
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett authored Mar 25, 2024
1 parent b369100 commit f449dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WakaTime/Helpers/FilterManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class FilterManager {
}
case .allowlist:
let addressMatchesAllowlist = patterns.contains { pattern in
httpAddress.matchesRegex(pattern) || httpsAddress.matchesRegex(pattern)
address.matchesRegex(pattern) || httpAddress.matchesRegex(pattern) || httpsAddress.matchesRegex(pattern)
}
// If none of the patterns on the allowlist match the given address, filter the site out
if !addressMatchesAllowlist {
Expand Down

0 comments on commit f449dce

Please sign in to comment.