DescriptionWIP: URL blacklisting by policy.
Introduces two new policies: a blacklist and a whitelist.
Matching is done by searching for the most specific matching domain that has a filter. Only HTTP, HTTPS and FTP schemes can be filtered. Paths are matched by longest prefix.
BUG=49612
TEST=Set the policies. URLs matching the filters should be blocked. unit_tests:TestHostBlacklistManager.*
Patch Set 1 #Patch Set 2 : More progress, cleanups #Patch Set 3 : Refactored a lot of stuff, incomplete #Patch Set 4 : Added path filtering #Patch Set 5 : Always filter including paths #
Total comments: 14
Patch Set 6 : Reviewed #Messages
Total messages: 3 (0 generated)
|