DescriptionDon't allow the following content settings patterns:
- Patterns with file scheme and non empty host
- File patterns that user a wildcard '*' symbol in their path
- "file:///"
- Patterns with an IP address and a domain wildcard.
Add tests to check that "[*.]", "http://[*.]", ... are valid patterns.
BUG=104414
TEST=ContentSettingsPattern*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111546
Patch Set 1 #Patch Set 2 : " #Patch Set 3 : Move validation checks to Builder.Validate method #Patch Set 4 : Move one more check to the Validate method #
Total comments: 4
Patch Set 5 : Addressed comments #
Messages
Total messages: 6 (0 generated)
|