Rob--W / https-by-default

Use HTTPS by default for navigations from the location bar in Chrome / Firefox.
MIT License
63 stars 12 forks source link

Cannot open http links embedded on https sites in a new tab #2

Closed Rob--W closed 9 years ago

Rob--W commented 9 years ago
  1. Build the Firefox add-on (make firefox).
  2. Install it.
  3. Visit example.com (you'll end up at https://example.com)
  4. Click on the link (middle-click, right-click, ctrl-click, etc.) to open it in a new tab.

Expected result:

Actual result:

The error seems to originate from https://hg.mozilla.org/mozilla-central/file/f214df6ac75f/toolkit/modules/BrowserUtils.jsm#l55.

I pulled the add-on from AMO since this is quite a critical bug.

Lekensteyn commented 9 years ago

Clarification: this always happens on opening new tabs via a link, for example by menu navigation, not just by mouse actions.

Rob--W commented 9 years ago

Fixed with the new implementation.