summaryrefslogtreecommitdiffstats
path: root/chrome/browser/toolbar_model.cc
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-12 01:14:04 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-12 01:14:04 +0000
commitc1b036f3dd51f1e4e9a94126b0d2c157d499e6b7 (patch)
tree43c637aa263ffec25b464d305816d47300b78b4b /chrome/browser/toolbar_model.cc
parent4201dbeb4955eb2363f77d5f51eee93eb3b0b8aa (diff)
downloadchromium_src-c1b036f3dd51f1e4e9a94126b0d2c157d499e6b7.zip
chromium_src-c1b036f3dd51f1e4e9a94126b0d2c157d499e6b7.tar.gz
chromium_src-c1b036f3dd51f1e4e9a94126b0d2c157d499e6b7.tar.bz2
Spaces are not URL-encoded in the Omnibar
BUG=13818 (http://crbug.com/13818) TEST=tests urls with spaces as well as files Review URL: http://codereview.chromium.org/126025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/toolbar_model.cc')
-rw-r--r--chrome/browser/toolbar_model.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/toolbar_model.cc b/chrome/browser/toolbar_model.cc
index 75e0f91..66f03f0 100644
--- a/chrome/browser/toolbar_model.cc
+++ b/chrome/browser/toolbar_model.cc
@@ -41,7 +41,7 @@ std::wstring ToolbarModel::GetText() {
url = entry->display_url();
}
}
- return net::FormatUrl(url, languages);
+ return net::FormatUrl(url, languages, true, UnescapeRule::NORMAL, NULL, NULL);
}
ToolbarModel::SecurityLevel ToolbarModel::GetSecurityLevel() {