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

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

Issue 14834016: Don't decodeHttpEntityString on urlencoded post data. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « no previous file | tests/standalone/io/http_body_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/http_body_impl.dart
diff --git a/sdk/lib/io/http_body_impl.dart b/sdk/lib/io/http_body_impl.dart
index c8d90d7eef647bd1077b1a8a8f30021b2bd4a8ca..900dff51e9304d8349993e36a0972c2b38ad8584 100644
--- a/sdk/lib/io/http_body_impl.dart
+++ b/sdk/lib/io/http_body_impl.dart
@@ -123,11 +123,8 @@ class _HttpBodyHandler {
var map = _HttpUtils.splitQueryString(
body.body, encoding: defaultEncoding);
var result = {};
- String parse(String s) {
- return _HttpUtils.decodeHttpEntityString(s);
- }
for (var key in map.keys) {
- result[parse(key)] = parse(map[key]);
+ result[key] = map[key];
}
return new _HttpBody(contentType, "form", result);
});
« no previous file with comments | « no previous file | tests/standalone/io/http_body_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698