From 3cf5ceb1064aa6a0bf6325c062c7240f942c490c Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 18 Dec 2020 21:21:27 +0100 Subject: [PATCH] Document that the workaround is only needed for OTP lower than 23.2 --- test/webadmin_tests.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/webadmin_tests.erl b/test/webadmin_tests.erl index 5af0240fd..a2de4a99a 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);