diff options
author | serya@chromium.org <serya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-09 08:35:07 +0000 |
---|---|---|
committer | serya@chromium.org <serya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-09 08:35:07 +0000 |
commit | d1f03e6741c66915b482cf15256a323f4b2ab3b0 (patch) | |
tree | 2593b5a29155ebae9e2754586f97818d76b6bde1 /chrome/browser/sync | |
parent | 41716639b97bc4d36e540c3fd5c7cd22ca823f03 (diff) | |
download | chromium_src-d1f03e6741c66915b482cf15256a323f4b2ab3b0.zip chromium_src-d1f03e6741c66915b482cf15256a323f4b2ab3b0.tar.gz chromium_src-d1f03e6741c66915b482cf15256a323f4b2ab3b0.tar.bz2 |
Escaping file names correctly. Also fixed a crush in chromeos debug build while saving a web page.
BUG=chromium-os:13130
TEST=Save a file with special characters like '#', '&', '"'.
Review URL: http://codereview.chromium.org/7057053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r-- | chrome/browser/sync/engine/net/url_translator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/engine/net/url_translator.cc b/chrome/browser/sync/engine/net/url_translator.cc index 4b91e54..c96c9d3 100644 --- a/chrome/browser/sync/engine/net/url_translator.cc +++ b/chrome/browser/sync/engine/net/url_translator.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // @@ -27,7 +27,7 @@ string CgiEscapeString(const char* src) { } string CgiEscapeString(const string& src) { - return EscapeUrlEncodedData(src); + return EscapeUrlEncodedData(src, true); } // This method appends the query string to the sync server path. |