[OSM-dev] HTTPS links to OSM tile server

Wolfram Schneider wosch at freebsd.org
Sun Mar 5 13:10:10 UTC 2017


Hi,

while reading the OSM wiki I noticed that my browser reports that
"Your connection to this site is not secure"

e.g. on
https://wiki.openstreetmap.org/wiki/Paris

is a map included src="//openstreetmap.org/openlayers/OpenLayers.js"

but the JS file
https://www.openstreetmap.org/openlayers/OpenStreetMap.js

has a hard coded path to the non-HTTPS site, e.g.

"http://a.tile.openstreetmap.org/${z}/${x}/${y}.png",

I think these links should use https by default, or a protocol independent link.

Who is in charge of updating
https://www.openstreetmap.org/openlayers/OpenStreetMap.js ? It seems
that the file was last updated 3.5 years ago.

-Wolfram

-- 
Planet.osm extracts: https://extract.bbbike.org
BBBike Map Compare: https://mc.bbbike.org/mc



More information about the dev mailing list