Index: net/base/net_util.cc |
=================================================================== |
--- net/base/net_util.cc (revision 43305) |
+++ net/base/net_util.cc (working copy) |
@@ -1278,7 +1278,8 @@ |
void GetIdentityFromURL(const GURL& url, |
std::wstring* username, |
std::wstring* password) { |
- UnescapeRule::Type flags = UnescapeRule::SPACES; |
+ UnescapeRule::Type flags = |
+ UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS; |
*username = UTF16ToWideHack(UnescapeAndDecodeUTF8URLComponent(url.username(), |
flags, NULL)); |
*password = UTF16ToWideHack(UnescapeAndDecodeUTF8URLComponent(url.password(), |