brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.9k stars 2.34k forks source link

Add a flag that disables HSTS on localhost #41705

Open arthuredelstein opened 1 month ago

arthuredelstein commented 1 month ago

Platforms

all

Description

Allowing HSTS to operate on localhost can be confusing for devs. We could consider adding a flag to make localhost an exception so that HSTS doesn't work there.

diracdeltas commented 3 weeks ago

Have we considered upstreaming this?

arthuredelstein commented 3 weeks ago

See https://groups.google.com/a/chromium.org/g/blink-dev/c/WJnjKYY2iSs/m/Rh9HlI3lAwAJ h/t @kdenhartog