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 900dff51e9304d8349993e36a0972c2b38ad8584..f81198d2f3be7df70e9dafc02385d5d81de611a8 100644 |
--- a/sdk/lib/io/http_body_impl.dart |
+++ b/sdk/lib/io/http_body_impl.dart |
@@ -120,8 +120,8 @@ class _HttpBodyHandler { |
case "x-www-form-urlencoded": |
return asText(Encoding.ASCII) |
.then((body) { |
- var map = _HttpUtils.splitQueryString( |
- body.body, encoding: defaultEncoding); |
+ var map = Uri.splitQueryString(body.body, |
+ decode: (s) => _decodeString(s, defaultEncoding)); |
var result = {}; |
for (var key in map.keys) { |
result[key] = map[key]; |