Changeset 1698 in josm for trunk


Ignore:
Timestamp:
2009-06-27T01:23:34+02:00 (15 years ago)
Author:
Gubaer
Message:

fixed #2759: OsmApiException message is crippled by showMessageDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r1691 r1698  
    420420                        + "{0}"
    421421                        + "</html>",
    422                         e.getMessage()
     422                        e.getMessage().replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
    423423                ),
    424424                tr("Precondition violation"),
     
    461461                + "{0}"
    462462                + "</html>",
    463                 e.getMessage()
     463                e.getMessage().replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;")
    464464        );
    465465        JOptionPane.showMessageDialog(
Note: See TracChangeset for help on using the changeset viewer.