diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/url_fixer_upper.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/url_fixer_upper.cc b/chrome/browser/url_fixer_upper.cc index 920e70c..9fb2cde 100644 --- a/chrome/browser/url_fixer_upper.cc +++ b/chrome/browser/url_fixer_upper.cc @@ -446,7 +446,8 @@ wstring URLFixerUpper::FixupRelativeFile(const wstring& base_dir, // escaped things. We need to go through 8-bit since the escaped values // only represent 8-bit values. std::wstring unescaped = UTF8ToWide(UnescapeURLComponent( - WideToUTF8(trimmed), UnescapeRule::SPACES | UnescapeRule::PERCENTS)); + WideToUTF8(trimmed), + UnescapeRule::SPACES | UnescapeRule::URL_SPECIAL_CHARS)); if (!ValidPathForFile(unescaped, &full_path)) is_file = false; } |