From e34c1ebcba19810cfed371c4b8b95646f8ec9eec Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 27 Nov 2024 12:38:12 +0100 Subject: [PATCH] WebAdmin: Fix link to displayed group when it is from another vhost --- src/ejabberd_web_admin.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_web_admin.erl b/src/ejabberd_web_admin.erl index bf1744629..ba863a2e5 100644 --- a/src/ejabberd_web_admin.erl +++ b/src/ejabberd_web_admin.erl @@ -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