Canonicalize '%' in userinfo properly. It should not be escaped.
commit46d8894a92954e5130a9b30662ab054411fdd4e3
authorwillchan@chromium.org <willchan@chromium.org@8873c55e-713a-0410-88f8-23d9c3d90b1b>
Tue, 28 Jul 2009 21:51:04 +0000 (28 21:51 +0000)
committerwillchan@chromium.org <willchan@chromium.org@8873c55e-713a-0410-88f8-23d9c3d90b1b>
Tue, 28 Jul 2009 21:51:04 +0000 (28 21:51 +0000)
tree548e3e06aa1718affcfc8b8c9137807dfce466f9
parent10af7c656cc4407fc5c218ef704e0b85bc8868b8
Canonicalize '%' in userinfo properly.  It should not be escaped.
According to RFC 1738:
user           = *[ uchar | ";" | "?" | "&" | "=" ]
password       = *[ uchar | ";" | "?" | "&" | "=" ]
uchar          = unreserved | escape
escape         = "%" hex hex
BUG=http://code.google.com/p/google-url/issues/detail?id=10

Review URL: http://codereview.chromium.org/160282

git-svn-id: http://google-url.googlecode.com/svn/trunk@111 8873c55e-713a-0410-88f8-23d9c3d90b1b
src/url_canon_internal.cc
src/url_canon_unittest.cc