ipfs/ipfs-companion
Auf GitHub ansehenDisabling on specific host should reload page from HTTPS
Open
#864 geöffnet am 9. Apr. 2020
P2effort/hoursexp/beginnergood first issuehelp wantedkind/bugstatus/readytopic/security
Repository-Metriken
- Stars
- (1.992 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 53T 3h) (1 gemergte PR in 30 T)
Beschreibung
Filling from mobile so we don't forget. Good first issue if someone wants to fix this via a PR before I get to it next week.
Right now, when IPFS integrations are disabled via a toggle, extension assumes http://.
Most servers redirect http:// → https://, or have HSTS set up, but Companion should default to https://, because if someone did not set up redirect to a secure context, there is a risk of the same website being loaded from http.
Easy fix is to use https:// in the line below: