#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 , 16 years ago
Milestone: | 0.11.4 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 by , 16 years ago
Weird, I could have sworn that this was working before. Oh well, sorry for the noise…
Yep, known issue, see #4382.