summaryrefslogtreecommitdiff
path: root/lib/inets/test
diff options
context:
space:
mode:
authorAo Song <andy@erlang.org>2020-08-12 10:56:27 +0200
committerAo Song <andy@erlang.org>2020-08-13 14:16:20 +0200
commit5296ae6c4761f26600c05e447cb0bda78a93b602 (patch)
tree1e72fb34b307a42f5e61a0d3a13eb5b25e733ac4 /lib/inets/test
parent6d5a5f31c36bbdaad21585d25974177bd1b75e66 (diff)
downloaderlang-5296ae6c4761f26600c05e447cb0bda78a93b602.tar.gz
inets, fix an error regarding decode of percent encoded URLs.
Change-Id: I46116c477b0e299018217417a2e302ffa492553e
Diffstat (limited to 'lib/inets/test')
-rw-r--r--lib/inets/test/httpd_SUITE.erl11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/inets/test/httpd_SUITE.erl b/lib/inets/test/httpd_SUITE.erl
index 0634f6b63d..f4925e00b4 100644
--- a/lib/inets/test/httpd_SUITE.erl
+++ b/lib/inets/test/httpd_SUITE.erl
@@ -484,6 +484,17 @@ get(Config) when is_list(Config) ->
{header, "Content-Type", "text/html"},
{header, "Date"},
{header, "Server"},
+ {version, Version}]),
+
+ ok = httpd_test_lib:verify_request(proplists:get_value(type, Config), Host,
+ proplists:get_value(port, Config),
+ transport_opts(Type, Config),
+ proplists:get_value(node, Config),
+ http_request("GET /.%252e/.%252e/.%252e/.%252e/.%252e/home/ ", Version, Host),
+ [{statuscode, 404},
+ {header, "Content-Type", "text/html"},
+ {header, "Date"},
+ {header, "Server"},
{version, Version}]).
basic_auth_1_1(Config) when is_list(Config) ->