Changeset 7149 in josm for trunk/src


Ignore:
Timestamp:
2014-05-20T13:05:46+02:00 (6 years ago)
Author:
simon04
Message:

fix #10051 - Allow to load from Overpass via HTTPS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadOsmTask.java

    r7005 r7149  
    3838
    3939    protected static final String PATTERN_OSM_API_URL           = "https?://.*/api/0.6/(map|nodes?|ways?|relations?|\\*).*";
    40     protected static final String PATTERN_OVERPASS_API_URL      = "http://.*/interpreter\\?data=.*";
    41     protected static final String PATTERN_OVERPASS_API_XAPI_URL = "http://.*/xapi(\\?.*\\[@meta\\]|_meta\\?).*";
     40    protected static final String PATTERN_OVERPASS_API_URL      = "https?://.*/interpreter\\?data=.*";
     41    protected static final String PATTERN_OVERPASS_API_XAPI_URL = "https?://.*/xapi(\\?.*\\[@meta\\]|_meta\\?).*";
    4242    protected static final String PATTERN_EXTERNAL_OSM_FILE     = "https?://.*/.*\\.osm";
    4343
Note: See TracChangeset for help on using the changeset viewer.