brave / brave-browser

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

Url in address bar and page contents are not updated when navigating to some sites with `Always use secure connections` on #21390

Open wknapik opened 2 years ago

wknapik commented 2 years ago

Description

When I go to http://www.upscreen.com/ on either Android, or Linux (any channel) with Upgrade connections to HTTPS and Always use secure connections on, the url in the address bar and page contents are not updated and Not secure appears in the address bar.

In a new tab that means an empty page (and sometimes an empty address bar, depending on how the URL was navigated to). In a tab where a page was previously loaded, that means everything looks like it did for the previous page, except the addition of Not secure in the address bar.

Steps to Reproduce

  1. Enable Upgrade connections to HTTPS and Always use secure connections
  2. Navigate to http://www.upscreen.com/

Actual result:

Expected result:

The redirect to https should be followed and both the address bar and page contents should be updated

% curl -sI http://www.upscreen.com/|grep Location:
Location: https://upscreen.com/
%

Reproduces how often:

Easily reproduced

Desktop Brave version:

Brave 1.35.103 Chromium: 98.0.4758.102 (Official Build) (64-bit)
Revision 273bf7ac8c909cde36982d27f66f3c70846a3718-refs/branch-heads/4758@{#1151}
OS Linux

Android Device details:

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

wknapik commented 2 years ago

When I click on the link from the issue, to open it in the same tab, I end up with image

diracdeltas commented 2 years ago

am seeing the same thing

wknapik commented 2 years ago

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