element-hq / element-hq/synapse

Refuse to start if public_baseurl doesn't start with http:// or https://

Open
#6,972 0 comments 0 reactions 0 assignees View on GitHub
T-Enhancement z-p2
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#6972](https://github.com/matrix-org/synapse/issues/6972).

---

See https://matrix.to/#/!YTvKGNlinIzlkMTVRl:matrix.org/$_C2LIw4bZx_OgbXuYxa3YCHJSyru1a_ldDomgWL4sXw?via=matrix.org&via=privacytools.io&via=feneas.org

User set `public_baseurl` to `matrix.domain` rather than `https://matrix.domain`.

Riot fails to login since it is trying to connect to https://riot.im/app/matrix.domain/_matrix/... rather than https://matrix.domain

RiotX fails like this:
![image](https://user-images.githubusercontent.com/5855073/75101731-df72db80-55a6-11ea-81de-edde1e004f94.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.