Changeset 18568 in josm for trunk/src/org


Ignore:
Timestamp:
2022-10-05T15:50:33+02:00 (2 years ago)
Author:
taylor.smock
Message:

See #22391/r18567: fix typo (&20 -> %20 for ' ' url encoding)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r18567 r18568  
    615615        // Java has issues if spaces are not URL encoded. Ensure that we URL encode the spaces.
    616616        if (layer.format.contains(" ")) {
    617             layer.format = layer.format.replace(" ", "&20");
     617            layer.format = layer.format.replace(" ", "%20");
    618618        }
    619619        return layer;
Note: See TracChangeset for help on using the changeset viewer.