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

Unified Diff: sdk/lib/io/http.dart

Issue 26973004: Preserve '\' in filenames for uploads, as Windows/IE contains them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | « pkg/http_server/test/http_multipart_test.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http.dart
diff --git a/sdk/lib/io/http.dart b/sdk/lib/io/http.dart
index ee63d1a025ffa7eeab173397b9c8d135adea2ae7..76fe61901ff479d1e9c767244f662fcbeed02e79 100644
--- a/sdk/lib/io/http.dart
+++ b/sdk/lib/io/http.dart
@@ -528,8 +528,11 @@ abstract class HeaderValue {
* string with both value and optional parameters.
*/
static HeaderValue parse(String value,
- {String parameterSeparator: ";"}) {
- return _HeaderValue.parse(value, parameterSeparator: parameterSeparator);
+ {String parameterSeparator: ";",
+ bool preserveBackslash: false}) {
+ return _HeaderValue.parse(value,
+ parameterSeparator: parameterSeparator,
+ preserveBackslash: preserveBackslash);
}
/**
« no previous file with comments | « pkg/http_server/test/http_multipart_test.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698