Modify

Opened 5 years ago

Closed 5 years ago

#6507 closed defect (fixed)

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

Reported by: chefs@… Owned by: anbo
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 5 years ago by anbo

  • Owner changed from makadev to anbo
  • Status changed from new to assigned

comment:2 Changed 5 years ago by anbo

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.