Ignore:
Timestamp:
2017-04-07T00:18:07+02:00 (2 years ago)
Author:
Don-vip
Message:

fix #14613 - Special HTML characters not escaped in GUI error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/VersionInfoPanel.java

    r11435 r11848  
    152152            text = tr("<html>Version <strong>{0}</strong> currently edited in layer ''{1}''</html>",
    153153                    Long.toString(version),
    154                     editLayer == null ? tr("unknown") : editLayer.getName()
     154                    editLayer == null ? tr("unknown") : Utils.escapeReservedCharactersHTML(editLayer.getName())
    155155                    );
    156156        } else {
Note: See TracChangeset for help on using the changeset viewer.