Modify

Opened 8 years ago

Closed 8 years ago

#14613 closed defect (fixed)

Special HTML characters not escaped in GUI error messages

Reported by: jidanni Owned by: team
Priority: normal Milestone: 17.04
Component: Core Version:
Keywords: html Cc:

Description

Big problem that leaves users scratching their heads.

On the GUI the user sees

Error - Could not read file 'r.osm'.
Error is:
Missing mandatory attribute 'ref' on of way -44,627. (at line 1,488, column 9). 54,130 bytes have been read

(Which by the way the user cannot copy with the mouse.)

Only on the terminal is the mystery revealed:

SEVERE: Error - <html>Could not read file 'r.osm'.<br>Error is:<br>Missing mandatory attribute 'ref' on <nd> of way -44,627. (at line 1,488, column 9). 54,1
30 bytes have been read</html>

By the way, the SEVERE is also lost.

0.0.svn11826+dfsg-1~exp1

Attachments (0)

Change History (5)

comment:1 by stoecker, 8 years ago

Milestone: 17.04

Please add (short) example file to make debugging easier.

comment:2 by jidanni, 8 years ago

I recall something like <nd>-111</nd> triggered it.

comment:3 by Don-vip, 8 years ago

Where does your XML come from?

comment:4 by Don-vip, 8 years ago

Keywords: html added
Summary: <nd> not escapedSpecial HTML characters not escaped in GUI error messages

comment:5 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

In 11848/josm:

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.