Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#8075 closed defect (duplicate)

Field values containig & escape to & in query

Reported by: Remy Blank Owned by:
Priority: normal Milestone:
Component: ticket system Version: 0.11.3
Severity: normal Keywords: query
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have a component with the name "R & D". It appears correctly everywhere except in the ticket query filter. When adding a constraint over the component, it appears as "R & D" in the component select box. Selecting that component and executing the query always yields an empty result set.

The list of components is included in the query page through generated JavaScript. AFAICT, Trac does the right thing and escapes the ticket field values within <script> tags, as the generated code is not enclosed in <![CDATA[ ]]>. It almost seems like the browser is trying to be too clever and assumes that string litterals within <script> tags are not quoted.

I can reproduce the issue with Firefox 3.0.6, Opera 9.63, Konqueror 3.5.9 and IE 7.

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 15 years ago

Milestone: 0.11.4
Resolution: duplicate
Status: newclosed

Yep, known issue, see #4382.

comment:2 by Remy Blank, 15 years ago

Weird, I could have sworn that this was working before. Oh well, sorry for the noise…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


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