Skip to content

Commit e34c1eb

Browse files
committed
WebAdmin: Fix link to displayed group when it is from another vhost
1 parent 73dbc01 commit e34c1eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ejabberd_web_admin.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2285,7 +2285,7 @@ make_result(Binary,
22852285
First = proplists:get_value(first, ArgumentsUsed),
22862286
Second = proplists:get_value(second, ArgumentsUsed),
22872287
FirstUrlencoded =
2288-
hd(string:replace(
2288+
list_to_binary(string:replace(
22892289
misc:url_encode(First), "%40", "@")),
22902290
{GroupId, Host} =
22912291
case jid:decode(FirstUrlencoded) of

0 commit comments

Comments
 (0)