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.

nVidia.com (partial) breaks shield.nvidia.com #3538

Description

@stephen304

Some images don't load on the following URL with the nVidia.com (partial) rule, which is enabled by default:
http://shield.nvidia.com/android-tv

Screenshots:
screenshot 2015-12-19 12 33 17

The relevant rule file seems to be:
https://github.com/EFForg/https-everywhere/blob/master/src/chrome/content/rules/NVidia.xml

The problem seems to boil down to the akamai CDN - the rule redirects the whole page to an akamai url for the html, which loads fine, but some relatively reverenced recources (images and icons or icon font) don't seem to be present in their relative locations on the CDN.

Page redirect, which is fine:
http://shield.nvidia.com/android-tv
https://a248.e.akamai.net/f/248/10/10/shield.nvidia.com/android-tv

Relative resource which is not present on the CDN:
Exact link: /images/holiday-bundle/free-remote-bundle.png
Normal URL: http://shield.nvidia.com/images/holiday-bundle/free-remote-bundle.png
CDN URL (fails): https://a248.e.akamai.net/images/holiday-bundle/free-remote-bundle.png
Correct CDN URL: https://a248.e.akamai.net/f/248/10/10/shield.nvidia.com/images/holiday-bundle/free-remote-bundle.png

I'm not sure how we would fix this, and I barely understand the rule, so if anybody else wants to take a stab at this that'd be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions