Modify ↓
Opened 7 years ago
Closed 7 years ago
#15532 closed enhancement (fixed)
[PATCH] Use HTTPS to communicate with OSM dev servers
Reported by: | naoliv | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 17.11 |
Component: | Core | Version: | |
Keywords: | https api | Cc: |
Description
To avoid redirects if we select a dev server to test something:
2017-11-08 11:08:34.917 INFO: POST http://master.apis.dev.openstreetmap.org/api/0.6/changeset/108073/upload (529 B) ... 2017-11-08 11:08:35.156 FINE: Uploading data ... 2017-11-08 11:08:35.396 INFO: POST http://master.apis.dev.openstreetmap.org/api/0.6/changeset/108073/upload -> 301 (380 B) 2017-11-08 11:08:35.397 FINE: RESPONSE: {null=[HTTP/1.1 301 Moved Permanently], Server=[Apache/2.4.18 (Ubuntu)], Connection=[close], Content-Length=[380], Date=[Wed, 08 Nov 2017 13:08:36 GMT], Content-Type=[text/html; charset=iso-8859-1], Location=[https://master.apis.dev.openstreetmap.org/api/0.6/changeset/108073/upload]} 2017-11-08 11:08:35.397 INFO: Download redirected to 'https://master.apis.dev.openstreetmap.org/api/0.6/changeset/108073/upload' 2017-11-08 11:08:35.398 FINE: Contacting Server... 2017-11-08 11:08:35.398 FINE: null 2017-11-08 11:08:35.399 INFO: POST https://master.apis.dev.openstreetmap.org/api/0.6/changeset/108073/upload (529 B) ... 2017-11-08 11:08:35.886 FINE: Uploading data ...
-
src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java
58 58 /** indicates whether to use the default OSM URL or not */ 59 59 private JCheckBox cbUseDefaultServerUrl; 60 60 private final transient ListProperty SERVER_URL_HISTORY = new ListProperty("osm-server.url-history", Arrays.asList( 61 "http ://api06.dev.openstreetmap.org/api", "http://master.apis.dev.openstreetmap.org/api"));61 "https://api06.dev.openstreetmap.org/api", "https://master.apis.dev.openstreetmap.org/api")); 62 62 63 63 private transient ApiUrlPropagator propagator; 64 64
Attachments (0)
Change History (2)
comment:1 by , 7 years ago
Keywords: | https api added |
---|---|
Milestone: | → 17.11 |
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 13098/josm: