Skip to content

OpenStreetMap newly redirecting tile URLs. Problem on safari #1524

Open
@harry-wood

Description

@harry-wood

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.

Activity

dcleao

dcleao commented on Feb 6, 2020

@dcleao

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

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

        Participants

        @harry-wood@dcleao

        Issue actions

          OpenStreetMap newly redirecting tile URLs. Problem on safari · Issue #1524 · openlayers/ol2