Modify

Opened 8 months ago

Closed 8 months 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 Changed 8 months ago by stoecker

Milestone: 17.04

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

comment:2 Changed 8 months ago by jidanni

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

comment:3 Changed 8 months ago by Don-vip

Where does your XML come from?

comment:4 Changed 8 months ago by Don-vip

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

comment:5 Changed 8 months ago by Don-vip

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.