Ignore:
Timestamp:
2014-03-21T17:31:18+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #9778, fix #9806 - access OSM API and JOSM website in HTTPS by default + other HTTPS links where applicable + update CONTRIBUTION

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/ImageryHandler.java

    r6902 r6920  
    3535        return new String[]{"url"};
    3636    }
    37    
     37
    3838    @Override
    3939    public String[] getOptionalParams() {
     
    112112        this.args = args;
    113113    }
    114    
     114
    115115    @Override
    116116    protected void validateRequest() throws RequestHandlerBadRequestException {
     
    137137            }
    138138        }));
    139         return new String[] { "/imagery?title=osm&type=tms&url=http://tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png",
     139        return new String[] { "/imagery?title=osm&type=tms&url=https://a.tile.openstreetmap.org/%7Bzoom%7D/%7Bx%7D/%7By%7D.png",
    140140            "/imagery?title=landsat&type=wms&url=http://irs.gis-lab.info/?layers=landsat&SRS=%7Bproj%7D&WIDTH=%7Bwidth%7D&HEIGHT=%7Bheight%7D&BBOX=%7Bbbox%7D",
    141141            "/imagery?title=...&type={"+types+"}&url=....[&cookies=...][&min_zoom=...][&max_zoom=...]"};
Note: See TracChangeset for help on using the changeset viewer.