Ignore:
Timestamp:
2015-08-08T18:42:12+02:00 (9 years ago)
Author:
wiktorn
Message:

Follow HTTP(S) redirects in Add WMS wizzard / GetLayers. Closes: #11770

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java

    r8509 r8650  
    138138
    139139        Main.info("GET " + getCapabilitiesUrl);
    140         URLConnection openConnection = Utils.openHttpConnection(getCapabilitiesUrl);
     140        URLConnection openConnection = Utils.openHttpConnection(getCapabilitiesUrl, false, true);
    141141        StringBuilder ba = new StringBuilder();
    142142
Note: See TracChangeset for help on using the changeset viewer.