Changeset 3021 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2010-02-19T01:19:36+01:00 (14 years ago)
Author:
mjulius
Message:

escape space characters in URLs to download

File:
1 edited

Legend:

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

    r2990 r3021  
    5555            URL url = null;
    5656            try {
    57                 url = new URL(urlStr);
     57                url = new URL(urlStr.replace(" ", "%20"));
    5858            } catch(MalformedURLException e) {
    5959                throw new OsmTransferException(e);
Note: See TracChangeset for help on using the changeset viewer.