| Index: chrome/browser/safe_browsing/safe_browsing_util.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
|
| index 6a043c591f8221df7138353947563b331d6c2b74..728bd96c2487d1cb43859b9cf6dd4603a82141b5 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_util.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
|
| @@ -272,9 +272,10 @@ std::string Unescape(const std::string& url) {
|
| int loop_var = 0;
|
| do {
|
| old_unescaped_str = unescaped_str;
|
| - unescaped_str = net::UnescapeURLComponent(old_unescaped_str,
|
| - net::UnescapeRule::CONTROL_CHARS | net::UnescapeRule::SPACES |
|
| - net::UnescapeRule::URL_SPECIAL_CHARS);
|
| + unescaped_str = net::UnescapeURLComponent(
|
| + old_unescaped_str, net::UnescapeRule::SPOOFING_AND_CONTROL_CHARS |
|
| + net::UnescapeRule::SPACES |
|
| + net::UnescapeRule::URL_SPECIAL_CHARS);
|
| } while (unescaped_str != old_unescaped_str && ++loop_var <=
|
| kMaxLoopIterations);
|
|
|
|
|