diff options
author | lucinka.brozkova@gmail.com <lucinka.brozkova@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-06 18:01:30 +0000 |
---|---|---|
committer | lucinka.brozkova@gmail.com <lucinka.brozkova@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-06 18:01:30 +0000 |
commit | 836ea6c7442a6ccbd83c3b4634195dae52af451a (patch) | |
tree | 00853aedb62351c990e84f5bc7bece69f34105f9 /AUTHORS | |
parent | b189bfcb8e4cc7b2bb9552a659136a060730d512 (diff) | |
download | chromium_src-836ea6c7442a6ccbd83c3b4634195dae52af451a.zip chromium_src-836ea6c7442a6ccbd83c3b4634195dae52af451a.tar.gz chromium_src-836ea6c7442a6ccbd83c3b4634195dae52af451a.tar.bz2 |
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
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -229,6 +229,7 @@ Leith Bade <leith@leithalweapon.geek.nz> Li Yin <li.yin@intel.com> Lorenzo Stoakes <lstoakes@gmail.com> Lu Guanqun <guanqun.lu@gmail.com> +Lucie Brozkova <lucinka.brozkova@gmail.com> Luke Inman-Semerau <luke.semerau@gmail.com> Luke Zarko <lukezarko@gmail.com> Maarten Lankhorst <m.b.lankhorst@gmail.com> |