Changeset 6840 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-02-12T00:40:28+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r6830 r6840 330 330 // this works around a ruby (or lighttpd) bug where two consecutive slashes in 331 331 // an URL will cause a "404 not found" response. 332 int p; while ((p = rv.indexOf("//", 6)) > -1) { rv.delete(p, p + 1); }332 int p; while ((p = rv.indexOf("//", rv.indexOf("://")+2)) > -1) { rv.delete(p, p + 1); } 333 333 return rv.toString(); 334 334 }
Note:
See TracChangeset
for help on using the changeset viewer.