mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Document that the workaround is only needed for OTP lower than 23.2
This commit is contained in:
parent
705f401961
commit
3cf5ceb106
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue