api.mapbox.com (e.g. from hikingproject.com)
-
I am using the default preferences mentioned in the issue template – in particular I can reproduce this issue with domain name matching strictness set to “Same-Site” - I have tested and can reproduce this issue with the following rewrite mode(s):
-
Send nothing as referer -
Send the URL you're going to as referer
-
- The issue can be observed at the following URL:
https://www.hikingproject.com/trail/7003351-
No login/account is required to visit this URL -
I am willing to provide a testing account to a whitelist maintainer to reproduce the issue
-
- When visiting the site the following breakage is observed:
The map (below "Your Favorites" above elevation profile) shows blank gray instead of topography+route. - I have identified the following exception rules that fix this issue:
www.hikingproject.com>api.mapbox.com
Additional information:
The Mapbox API requires API requests to include a Referer
header, as documented in Mapbox GL JS Referrer Policies and Token management. Not sending, or sending a self-referencing Referer header to the API results in 403 Forbidden and breakage on the page using the API. So I'd suggest considering adding *>api.mapbox.com
to the whitelist.
Thanks for maintaining this addon!
Kevin