Changeset 14725 in josm for trunk/src/org


Ignore:
Timestamp:
2019-01-23T22:20:35+01:00 (6 years ago)
Author:
simon04
Message:

see #16497 - SessionWriter: use ../ to escape ZIP file

File:
1 edited

Legend:

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

    r14723 r14725  
    222222            }
    223223            // path.toString() returns backslashes on Windows, see #17228
    224             return StreamUtils.toStream(path)
     224            return (isZip() ? "../" : "") + StreamUtils.toStream(path)
    225225                    .map(Object::toString)
    226226                    .collect(Collectors.joining("/"));
Note: See TracChangeset for help on using the changeset viewer.