From 3c2c24a839eb4cc3eecac4807d585fac97059a2a Mon Sep 17 00:00:00 2001 From: Guillaume Rischard Date: Sat, 28 Sep 2019 01:54:12 +0200 Subject: [PATCH] Always call JOSM over http Https in JOSM is unreliable and will be dropped soon. See https://josm.openstreetmap.de/ticket/10033 All modern browsers support calling 127.0.0.1 over http even from https pages, per spec: w3c/webappsec-mixed-content@349501c https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy JOSM's default behaviour is to run without https. Openstreetmap.org itself also always calls JOSM over http. --- app/helpers/application_helper.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 33086a2f..bf3c5828 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -36,20 +36,18 @@ def potlatch_link(zoom, lon, lat, slug = nil) # derives URLs for HTTP GET requests needed for JOSM to load data and tiles. # Actual XHRs exist in