[openstreetmap/openstreetmap-website] Only ever call the JOSM Remote API over HTTP (#1703)

Guillaume Rischard notifications at github.com
Sat Dec 16 02:25:57 UTC 2017


Since most major browsers now support calling http://127.0.0.1:port from https pages without throwing mixed content warnings, [JOSM is going to remove support for https](https://github.com/openstreetmap/operations/issues/117#issuecomment-352150065). Links to edit the map should therefore, when using an external editor, only ever call http://127.0.0.1:8111, and no longer call https://127.0.0.1:8112. This will also simplify setting up JOSM for many users.

Should I submit a PR simplifying [this bit of code](https://github.com/openstreetmap/openstreetmap-website/blob/2a21c8218589f182f104d88c959e6e0181e32064/app/assets/javascripts/index.js#L246) and [this one](https://github.com/openstreetmap/openstreetmap-website/blob/986779966bb5aae241b350c3a948267fb8ceb594/app/controllers/application_controller.rb#L416)?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1703
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20171216/35620754/attachment.html>


More information about the rails-dev mailing list