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:
parent
73dbc01c2e
commit
e34c1ebcba
@ -2285,7 +2285,7 @@ make_result(Binary,
|
|||||||
First = proplists:get_value(first, ArgumentsUsed),
|
First = proplists:get_value(first, ArgumentsUsed),
|
||||||
Second = proplists:get_value(second, ArgumentsUsed),
|
Second = proplists:get_value(second, ArgumentsUsed),
|
||||||
FirstUrlencoded =
|
FirstUrlencoded =
|
||||||
hd(string:replace(
|
list_to_binary(string:replace(
|
||||||
misc:url_encode(First), "%40", "@")),
|
misc:url_encode(First), "%40", "@")),
|
||||||
{GroupId, Host} =
|
{GroupId, Host} =
|
||||||
case jid:decode(FirstUrlencoded) of
|
case jid:decode(FirstUrlencoded) of
|
||||||
|
Loading…
Reference in New Issue
Block a user