Custom homeserver URL doesn't behave sensibly if no protocol is specified. #7706
Labels
A-Login
A-Registration
P2
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
If you don't specify a protocol (http/https) for the custom homeserver URL, Riot just assembles the URL it's poking as a relative path (so if you're using https://riot.im/app and you put in the domain example.com then it will poll https://riot.im/app/example.com/_matrix/client/r0/login - in the case of https://riot.im it'll get a 404, but that'll obviously depend on the particular configuration of the server serving the riot web client.
It would probably be best to validate on the presence of a protocol and if it's not there tell the user to correct their URL.
The text was updated successfully, but these errors were encountered: