diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 01:56:18 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-04 01:56:18 +0000 |
commit | 4035a150e22bf51631b09fc810002d859aea1565 (patch) | |
tree | 0f5a8908585dd4dfc1b274c6a0caad28124b0485 /chrome | |
parent | c296bfc9c44bd0ab389bb2d2772fcdf4cbac30c6 (diff) | |
download | chromium_src-4035a150e22bf51631b09fc810002d859aea1565.zip chromium_src-4035a150e22bf51631b09fc810002d859aea1565.tar.gz chromium_src-4035a150e22bf51631b09fc810002d859aea1565.tar.bz2 |
Fix -[NSString isValidURI].
Use GURL for validation instead of NSURL. NSURL is extremely liberal
with what it considers a valid URI, since it also uses RFC 1808 to
parse.
BUG=43100
TEST=none
Review URL: http://codereview.chromium.org/1904001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/chrome_browser.gypi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 8e636d3..9b161c5 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -2660,7 +2660,7 @@ '../third_party/mozilla/NSScreen+Utils.h', '../third_party/mozilla/NSScreen+Utils.m', '../third_party/mozilla/NSString+Utils.h', - '../third_party/mozilla/NSString+Utils.m', + '../third_party/mozilla/NSString+Utils.mm', '../third_party/mozilla/NSURL+Utils.h', '../third_party/mozilla/NSURL+Utils.m', '../third_party/mozilla/NSWorkspace+Utils.h', |