forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PSLMatchingHelper::IsPublicSuffixDomainMatch checks URL validity
Before this fix the function was returning true when comparing two invalid URLs. After this fix, if one or both of the URLs are invalid the function will return false. Checking incoming arguments of the function for validity is a good practice and may prevent future problems. (Currently the PSLMatchingHelper::IsPublicSuffixDomainMatch is never called with invalid arguments, but this can change in the future.) BUG=391529 Review URL: https://codereview.chromium.org/365313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281477 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
lucinka.brozkova@gmail.com
committed
Jul 6, 2014
1 parent
b189bfc
commit 836ea6c
Showing
4 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters