Changeset 15551 in josm


Ignore:
Timestamp:
2019-12-01T18:07:33+01:00 (7 days ago)
Author:
Don-vip
Message:

fix #18326 - escape HTML characters in overpass query wizard error dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryWizardDialog.java

    r15011 r15551  
    150150                    "<html>" +
    151151                     tr("The Overpass wizard could not parse the following query:") +
    152                      Utils.joinAsHtmlUnorderedList(Collections.singleton(searchTerm)) +
     152                     Utils.joinAsHtmlUnorderedList(Collections.singleton(Utils.escapeReservedCharactersHTML(searchTerm))) +
    153153                     "</html>",
    154154                    tr("Parse error"),
Note: See TracChangeset for help on using the changeset viewer.