Modify

Opened 15 years ago

Closed 15 years ago

#6507 closed defect (fixed)

The use of special characters in ticket or milestone names prevents dot rendering

Reported by: chefs@… Owned by: Andreas
Priority: normal Component: ProjectPlanPlugin
Severity: normal Keywords:
Cc: chefs@… Trac Release: 0.11

Description

Milestone names containing an ampersand ("&") breaks the processing. E.g. the milestone name "Modul: Vsensor - Bugfix & Doku" raises the log output

Error: not well-formed (invalid token) in line 1
... <HTML>Milestone: Modul: Vsensor - Bugfix & Doku ...
in label of graph clusterCMilestone_7
Error: not well-formed (invalid token) in line 1
... <HTML>Milestone: Modul: Vsensor - Bugfix & Doku ...
in label of graph clusterCMilestone_11

Ticket names like "modSensor => ProcessEnrollment" or "modSensor -> ProcessEnrollment" causes errors too

syntax error near line 123
context: </TD></TR><TR><TD COLOR="#E5E5E5" BGCOLOR="#FFFFFF" TITLE="summary" COLSPAN="6"  ><TABLE CELLPADDING="2" CELLSPACING="2" BORDER="0" ><TR><TD>modSensor => >>>  Proces. <<< ..
Error: mismatched tag in line 7
... modSensor =</HTML> ...

It may well be that other combinations of special characters leads to the same effects.

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by Andreas

Owner: changed from Matthias to Andreas
Status: newassigned

comment:2 Changed 15 years ago by Andreas

Resolution: fixed
Status: assignedclosed

(In [7611]) new method htmlspecialchars implemented to prevent unsafe characters, fixes #6507

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andreas.
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.