brave / brave-browser

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

Site issues in http-nowhere mode #21557

Open wknapik opened 2 years ago

wknapik commented 2 years ago

Description

The article at http://wroclawskiejedzenie.pl/2022/03/07/polacy-jestescie-wspaniali-niech-rzad-nie-przypisuje-sobie-waszych-zaslug/ is present, but in http-nowhere mode I'm getting redirected to https and getting a 404.

Steps to Reproduce

  1. Enable Always use secure connections
  2. Go to http://wroclawskiejedzenie.pl/2022/03/07/polacy-jestescie-wspaniali-niech-rzad-nie-przypisuje-sobie-waszych-zaslug/
  3. See 404

Actual result:

404

Expected result:

200

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave 1.36.109 Chromium: 99.0.4844.51 (Official Build) (64-bit)
Revision d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875}
OS Linux

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

We can use this issue for other examples of site breakage

wknapik commented 2 years ago

Chromium issue https://bugs.chromium.org/p/chromium/issues/detail?id=1304680

wknapik commented 2 years ago

The upstream issue was closed as a WontFix, because it's a site issue (which it is). Here's my comment from the chromium tracker:

This is a site issue, but the user is navigating to a valid url, that returns 200 and a browser setting is causing them to see 404. This sort of site misconfiguration may be common and it is detectable. The browser could behave differently when the https url returns an error and the http url doesn't. The user may be presented with a choice of what to do for instance.

Do we take the same approach as upstream, or do something else?