Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Heroku breaks widgets-section list at http://www.aftenposten.no #3041

Description

@xbcd

At non-HTTPS aftenposten.no pages, e.g.
http://www.aftenposten.no/meninger/sid/Pa-tide-a-legalisere-cannabis-8122474.html
when Heroku rules are disabled in the HTTPS Everywhere settings, there will be 5 files loaded:

http://widget-user-header.herokuapp.com/public/all.js
http://widget-user-header.herokuapp.com/public/all.css
http://widget-list.herokuapp.com/public/section-list.css
http://follow-author.herokuapp.com/tagScripts.js
http://follow-author.herokuapp.com/style.css

These will create a "Widgets-section list" at the bottom of the page:
Imgur Heroku rules disabled

If the Heroku rules are enabled in the HTTPS Everywhere settings (the default)
those 5 files will not be loaded.
(Even though they may be manually downloaded by entering e.g.
https://widget-user-header.herokuapp.com/public/all.js
I don't know the reason why they're not loaded..)

And therefore, that "Widgets-section list" at the bottom of the page will be missing:
Imgur Heroku rules enabled

However, when using HTTPS aftenposten.no pages, e.g.
https://www.aftenposten.no/meninger/sid/Pa-tide-a-legalisere-cannabis-8122474.html
then those 5 files will always be loaded as HTTPS,
no matter if the Heroku rules are enabled or disabled in the HTTPS Everywhere settings.

I see there are HTTPS-E rules for aftenposten.no, but it seems they are disabled?
I will only get HTTP aftenposten.no unless I manually change it to HTTPS.

To summarize, the current workaround is either disabling the Heroku rules,
or else manually change into https://www.aftenposten.no

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions