summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-12-18 21:21:27 +0100
committerBadlop <badlop@process-one.net>2020-12-18 21:21:27 +0100
commit3cf5ceb1064aa6a0bf6325c062c7240f942c490c (patch)
treedc1eeb7b36d5e94509c105f1ba1cb15edcc55a98 /test
parentFix a pair of pubsub specs to please Dialyzer (diff)
Document that the workaround is only needed for OTP lower than 23.2
Diffstat (limited to 'test')
-rw-r--r--test/webadmin_tests.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/webadmin_tests.erl b/test/webadmin_tests.erl
index 5af0240f..a2de4a99 100644
--- a/test/webadmin_tests.erl
+++ b/test/webadmin_tests.erl
@@ -126,6 +126,7 @@ page(Config, Tail) ->
Server = ?config(server_host, Config),
Port = ct:get_config(web_port, 5280),
Url = "http://" ++ Server ++ ":" ++ integer_to_list(Port) ++ "/admin/" ++ Tail,
+ %% This bypasses a bug introduced in Erlang OTP R21 and fixed in 23.2:
case catch uri_string:normalize("/%2525") of
"/%25" ->
string:replace(Url, "%25", "%2525", all);