summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 09:19:29 +0000
committerbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 09:19:29 +0000
commit74f91ef92514a6820aaeed1d312eaa8155d33149 (patch)
tree052a28e64c0c37f9da81d3bd374d1890dd100046 /chrome
parentf571579df454f8d59a783afaf008781e84fb8351 (diff)
downloadchromium_src-74f91ef92514a6820aaeed1d312eaa8155d33149.zip
chromium_src-74f91ef92514a6820aaeed1d312eaa8155d33149.tar.gz
chromium_src-74f91ef92514a6820aaeed1d312eaa8155d33149.tar.bz2
Add EscapeURL to the ASCII escape methods.EscapeURL escapes all forbidden ascii characters in an URL and repalces spaces with '+'.
Test=Escape.EscapeUrl BUG=23029 Review URL: http://codereview.chromium.org/244056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/sync/engine/net/url_translator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/engine/net/url_translator.cc b/chrome/browser/sync/engine/net/url_translator.cc
index 0931c36..a5943be 100644
--- a/chrome/browser/sync/engine/net/url_translator.cc
+++ b/chrome/browser/sync/engine/net/url_translator.cc
@@ -29,7 +29,7 @@ string CgiEscapeString(const char* src) {
}
string CgiEscapeString(const string& src) {
- return EscapePath(src);
+ return EscapeUrl(src);
}
// This method appends the query string to the sync server path.