summaryrefslogtreecommitdiffstats
path: root/chrome/browser/url_fixer_upper.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 23:50:22 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 23:50:22 +0000
commitf20dac42c398c437ff65c79c9a5610bd8e04af91 (patch)
tree307ab7f13f413255bda0f0a8d41cbf0ea5a830c2 /chrome/browser/url_fixer_upper.cc
parent96354fc5a07b8a41b02989946fbfbcab491a97b6 (diff)
downloadchromium_src-f20dac42c398c437ff65c79c9a5610bd8e04af91.zip
chromium_src-f20dac42c398c437ff65c79c9a5610bd8e04af91.tar.gz
chromium_src-f20dac42c398c437ff65c79c9a5610bd8e04af91.tar.bz2
I looked at the full dump from the previous crashes and it looks like a testing issue. Hopefully it will be magically unbroken.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/url_fixer_upper.cc')
-rw-r--r--chrome/browser/url_fixer_upper.cc3
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;
}