You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
badlop
changed the title
When matrix_domain not set, @HOST@ isn't replaced in server_name
If matrix_domain contains @HOST@, this isn't replaced when using the option
Feb 28, 2024
Reported in the ejabberd chatroom by Arcanicanis:
It's easy to reproduce, simply use ejabberd 24.02 and configure
And visiting https://localhost:8448/_matrix/key/v2/server returns as result:
In fact, setting the option
matrix_domain: "@HOST@.aaa"
will make the page show"server_name":"@HOST@.aaa"
.It seems mod_matrix lacks a call to
misc:expand_keyword(<<"@HOST@">>, Domain, Host)
in the proper place...The text was updated successfully, but these errors were encountered: