Open gmaclennan opened 1 month ago
I basically agree.
The frontend should:
https://
as necessaryThe backend should:
URL
constructor, failing if it cannothttps:
(unless dangerouslyAllowInsecureConnections
is true)I wrote the frontend's URL normalization logic here: https://github.com/digidem/comapeo-mobile/pull/779
Description
For a user to add an archive server (self-hosted server for syncing with CoMapeo over the internet), they need to enter a server address. This issue is to define what the requirements for the server address are. Proposal:
https://
)https://
https://
should map towss://
, andhttp://
tows://
. Unencrypted protocols should only be allowed withdangerouslyAllowInsecureConnections
.Questions: