Ignore:
Timestamp:
2014-02-02T23:23:27+01:00 (10 years ago)
Author:
simon04
Message:

fix #9660 - Allow to download compressed GPX tracks from osm.org/trace/ using "Download location"

This works by inspecting the filename in the Content-Disposition HTTP header.

File:
1 edited

Legend:

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

    r6643 r6803  
    184184            // TODO: handle multiple suitable tasks ?
    185185            try {
    186                 future = tasks.iterator().next().loadUrl(new_layer, url, monitor);
     186                task = tasks.iterator().next();
     187                future = task.loadUrl(new_layer, url, monitor);
    187188            } catch (IllegalArgumentException e) {
    188189                Main.error(e);
Note: See TracChangeset for help on using the changeset viewer.