aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2017-09-13 10:36:08 +0200
committerErlang/OTP <[email protected]>2017-09-13 10:36:08 +0200
commitc24f636d3326f75d7d6c4206e1888f2e5420cec1 (patch)
tree197b2852bd1803fbdde14b1d22e7b945fda0e77a /lib/inets/test
parenta4cfcca78c83540b18786c92b1a3cf5d4ed15c2a (diff)
parent2a42a7d14bfdfdc323fa0b6da465f79821dafcae (diff)
downloadotp-c24f636d3326f75d7d6c4206e1888f2e5420cec1.tar.gz
otp-c24f636d3326f75d7d6c4206e1888f2e5420cec1.tar.bz2
otp-c24f636d3326f75d7d6c4206e1888f2e5420cec1.zip
Merge branch 'peterdmv/inets/http_uri_backwards_compat/OTP-14573' into maint-20
* peterdmv/inets/http_uri_backwards_compat/OTP-14573: inets: Restore old behavior when parsing "+"
Diffstat (limited to 'lib/inets/test')
-rw-r--r--lib/inets/test/uri_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/test/uri_SUITE.erl b/lib/inets/test/uri_SUITE.erl
index 3e7799141c..f973296af6 100644
--- a/lib/inets/test/uri_SUITE.erl
+++ b/lib/inets/test/uri_SUITE.erl
@@ -277,8 +277,8 @@ encode_decode(Config) when is_list(Config) ->
?assertEqual("foo%20bar", http_uri:encode("foo bar")),
?assertEqual(<<"foo%20bar">>, http_uri:encode(<<"foo bar">>)),
- ?assertEqual("foo bar", http_uri:decode("foo+bar")),
- ?assertEqual(<<"foo bar">>, http_uri:decode(<<"foo+bar">>)),
+ ?assertEqual("foo+bar", http_uri:decode("foo+bar")),
+ ?assertEqual(<<"foo+bar">>, http_uri:decode(<<"foo+bar">>)),
?assertEqual("foo bar", http_uri:decode("foo%20bar")),
?assertEqual(<<"foo bar">>, http_uri:decode(<<"foo%20bar">>)),
?assertEqual("foo\r\n", http_uri:decode("foo%0D%0A")),