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

Use https scheme whenever possible, to avoid mixed content issues #87

Merged
merged 1 commit into from
May 20, 2017

Conversation

bagage
Copy link
Collaborator

@bagage bagage commented May 8, 2017

To fix security issues like #60, the only proper solution will be to switch to HTTPS support. I setup it on https://brouter.damsy.net - there might be other issues but here's a first patch :).

js/Map.js Outdated
maxNativeZoom: 18,
maxZoom: maxZoom
});

var esri = L.tileLayer('https://{s}.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
var esri = L.tileLayer('http://{s}.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}', {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this stay https?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it should - somewhat screwed my test on this one, thanks...

@nrenner nrenner merged commit 98b5bb9 into nrenner:master May 20, 2017
@bagage bagage deleted the feature/use-https branch May 27, 2019 18:13
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

Successfully merging this pull request may close these issues.

2 participants