- Timestamp:
- 2018-05-11T00:08:58+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/CachedFile.java
r13725 r13728 13 13 import java.net.MalformedURLException; 14 14 import java.net.URL; 15 import java.net.URLEncoder;16 15 import java.nio.charset.StandardCharsets; 17 16 import java.nio.file.Files; … … 490 489 uc = u.replaceAll("%<(.*)>", ""); 491 490 } else { 492 uc = u.replaceAll("%<(.*)>", "$1" +URLEncoder.encode(parameter, "UTF-8"));491 uc = u.replaceAll("%<(.*)>", "$1" + Utils.encodeUrl(parameter)); 493 492 } 494 493 if (!uc.equals(u))
Note:
See TracChangeset
for help on using the changeset viewer.