summaryrefslogtreecommitdiffstats
path: root/net/base/escape.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 15:48:06 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 15:48:06 +0000
commitfb2ab08257345bff2d48e74f1d5e96faf2f8b493 (patch)
treea400ca4cffdb09e19c62489848226c7740819c3a /net/base/escape.cc
parenta4adab68d36edfecd5c27bc06084b305a5ea6200 (diff)
downloadchromium_src-fb2ab08257345bff2d48e74f1d5e96faf2f8b493.zip
chromium_src-fb2ab08257345bff2d48e74f1d5e96faf2f8b493.tar.gz
chromium_src-fb2ab08257345bff2d48e74f1d5e96faf2f8b493.tar.bz2
Pull latest googleurl to get it to stop unescaping at signs in paths.
This also fixes the URL displayer to stop unescaping at signs. Otherwise, we'll have the weird situation where if you go to a site with a %40 in it where it cares about the difference between %40 and @, pressing enter in the URL bar will load the "@" variant and the URL won't load. BUG=http:///crbug.com/23933 TEST=included unit test Review URL: http://codereview.chromium.org/1614001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43615 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/escape.cc')
-rw-r--r--net/base/escape.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/escape.cc b/net/base/escape.cc
index bf23bcb..bc01e11 100644
--- a/net/base/escape.cc
+++ b/net/base/escape.cc
@@ -99,7 +99,7 @@ const char kUrlUnescape[128] = {
// 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0,
// @ A B C D E F G H I J K L M N O
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
// P Q R S T U V W X Y Z [ \ ] ^ _
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
// ` a b c d e f g h i j k l m n o