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

Unified Diff: tests/standalone/io/url_encoding_test.dart

Issue 11645041: Fix URI encoding/decoding of + and space (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
Index: tests/standalone/io/url_encoding_test.dart
diff --git a/tests/standalone/io/url_encoding_test.dart b/tests/standalone/io/url_encoding_test.dart
index f491d5cfb77ffab856c56f5b7f2d9a0ac844e76a..83765bbf7693aa36164202c3bc668577f6c3c00b 100644
--- a/tests/standalone/io/url_encoding_test.dart
+++ b/tests/standalone/io/url_encoding_test.dart
@@ -17,6 +17,9 @@ void testParseEncodedString() {
String encodedString = 'foo+bar%20foobar%25%26';
Expect.equals(_HttpUtils.decodeUrlEncodedString(encodedString),
'foo bar foobar%&');
+ encodedString = 'A+%2B+B';
+ Expect.equals(_HttpUtils.decodeUrlEncodedString(encodedString),
+ 'A + B');
}
void testParseQueryString() {

Powered by Google App Engine
This is Rietveld 408576698