25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-16 17:15:55 +01:00

WebAdmin: Fix link to displayed group when it is from another vhost

This commit is contained in:
Badlop 2024-11-27 12:38:12 +01:00
parent 73dbc01c2e
commit e34c1ebcba

View File

@ -2285,7 +2285,7 @@ make_result(Binary,
First = proplists:get_value(first, ArgumentsUsed),
Second = proplists:get_value(second, ArgumentsUsed),
FirstUrlencoded =
hd(string:replace(
list_to_binary(string:replace(
misc:url_encode(First), "%40", "@")),
{GroupId, Host} =
case jid:decode(FirstUrlencoded) of