-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mapbox tiles don't load (caching) #6897
Comments
When analysing the requests in Chrome vs Brave, I found that Brave spoofs the referrer for some requests, changing it to "api.mapbox.com". Adding this to the whitelisted domains for my mapbox API key did the trick, but it means that I have to expose my API key to other domains than my own. This weird behaviour of Brave should be changed. |
cc: @diracdeltas Can you take a look for referrer spoofing? |
Just trying to reproduce this, Is there an easier way to see if this still buggy @tiotdev ? |
I'm not seeing any issues loading this site (and general interactions). Attached is a gif, nothing being hit in shields from what I see (no blocked cookies either) https://secure.fanboy.co.nz/gif/travelfeed.gif Can you confirm everything is working okay @tiotdev otherwise it's probably safe to close this. |
@ryanbr As I already wrote I solved this by adding |
@tiotdev Would this patch brave/referrer-whitelist#33 help here. No security issues, just all standard referrers through. |
Fixes mapbox issues brave/brave-browser#6897 (WIP)
Description
Sites using mapbox don't load tiles on reoccurring visits. This problem occurs only in Brave.
Steps to Reproduce
https://api.mapbox.com/v4/mapbox.mapbox-terrain-v2,mapbox.mapbox-streets-v7.json...
returns403 Forbidden (from ServiceWorker)
and403 Forbidden (from disk cache)
Actual result:
Tiles don't load
Expected result:
Tiles load
Reproduces how often:
Easily reproduced
Brave version (brave://version info)
0.70.123 Chromium: 78.0.3904.97 (Official Build) (64-bit)
Version/Channel Information:
All Brave desktop versions seem to be affected
Other Additional Information:
Miscellaneous Information:
Related issue mapbox/mapbox-gl-js#8859
Brave mobile (android) is not affected
The text was updated successfully, but these errors were encountered: