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

WebAdmin: Shared group names are case sensitive, use original case instead of lowercase

This commit is contained in:
Badlop 2024-11-27 12:03:23 +01:00
parent f0773c4ab8
commit 73dbc01c2e

View File

@ -2289,9 +2289,9 @@ make_result(Binary,
misc:url_encode(First), "%40", "@")), misc:url_encode(First), "%40", "@")),
{GroupId, Host} = {GroupId, Host} =
case jid:decode(FirstUrlencoded) of case jid:decode(FirstUrlencoded) of
#jid{luser = <<"">>, lserver = G} -> #jid{luser = <<"">>, server = G} ->
{G, Second}; {G, Second};
#jid{luser = G, lserver = H} -> #jid{user = G, lserver = H} ->
{G, H} {G, H}
end, end,
UrlBinary = UrlBinary =