Skip to content
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

OpenStreetMap newly redirecting tile URLs. Problem on safari #1524

Open
harry-wood opened this issue Feb 2, 2018 · 1 comment
Open

OpenStreetMap newly redirecting tile URLs. Problem on safari #1524

harry-wood opened this issue Feb 2, 2018 · 1 comment

Comments

@harry-wood
Copy link

harry-wood commented Feb 2, 2018

I saw some maps break when OpenStreetMap recently started redirecting http requests to httpS on the main "OpenStreetMap Standard" tile server. Safari started showing a "Cross-origin redirection" error (but no errors on Chrome & Firefox). This one on the OpenLayers2 website for example, is currently showing pink tiles in Safari.

I noticed that maps embedding this particular URL started hitting the problem:
<script src="http://www.openlayers.org/api/OpenLayers.js"></script>

...but with this URL, somehow the problem is fixed (is this a later version than the above?)
<script src="https://cdnjs.cloudflare.com/ajax/libs/openlayers/2.11/lib/OpenLayers.js"></script>

Strange that it fixes it, because it still seems to request the 'http' redirecting URLS.

@dcleao
Copy link

dcleao commented Feb 6, 2020

Interestingly, it looks like the former is of a more recent version, VERSION_NUMBER:"Release 2.13.1".
This looks like a Safari bug (possibly a reincarnation of https://bugs.webkit.org/show_bug.cgi?id=57600).
See also the workaround in eclipse-sumo/sumo#3991.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants