Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1357)

Unified Diff: net/base/escape.cc

Issue 7057053: Escaping file names correctly. Also fixed a crush in chromeos debug build while saving a web page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed fix. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/escape.h ('k') | net/base/escape_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/escape.cc
diff --git a/net/base/escape.cc b/net/base/escape.cc
index 9f119d8652ce86a913f7a9f5a6db7a930a3649a4..08eebfa0716576429a0bd7b76ca2ba6ed79f5f6f 100644
--- a/net/base/escape.cc
+++ b/net/base/escape.cc
@@ -212,8 +212,9 @@ static const Charmap kUrlEscape(
0xffffffffL, 0xffffffffL, 0xffffffffL, 0xffffffffL
);
-std::string EscapeUrlEncodedData(const std::string& path) {
- return Escape(path, kUrlEscape, true);
+std::string EscapeUrlEncodedData(const std::string& path,
+ bool use_plus) {
+ return Escape(path, kUrlEscape, use_plus);
}
// non-7bit
« no previous file with comments | « net/base/escape.h ('k') | net/base/escape_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698