Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: set the matrix public_baseurl #2366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

offbyone
Copy link

Instead of computing this from the matrix_server_fqn_matrix this
should use the pre-computed (or overridden!) matrix_homeserver_url so
that it is possible to set the homeserver port, if that isn't 443

Instead of computing this from the `matrix_server_fqn_matrix` this
should use the pre-computed (or overridden!) `matrix_homeserver_url` so
that it is possible to set the homeserver port, if that isn't `443`
@spantaleev
Copy link
Owner

The comments there seem to indicate that a trailing slash is necessary, but maybe that's not really required?

@rltas
Copy link

rltas commented May 4, 2023

Imo this excerpt from the well-known spec applies here as well:
It is important to note that the base_url value might include a trailing /. Consumers should be prepared to handle both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants