Opened 13 years ago
Closed 12 years ago
#10500 closed defect (worksforme)
Quotes in the ticket summary trigger UnicodeDecodeError
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | |
Component: | rendering | Version: | 0.12.1 |
Severity: | minor | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If the double-quotes character (") is used inside a ticket summary, it is impossible to link such ticket from elsewhere.
Example: If the ticket nr. 1234 contains summary
This is "a summary"
and another ticket nr. 2345 has a comment
See ticket:1234 for details
Than the ticket nr. 2345 cannot be displayed.
It shows the following error:
Genshi UnicodeDecodeError error while rendering template (unknown template location)
Apparently, it is because the summary is put into the title attribute when linking and there are quotes inside quotes. Some escaping should be used.
I searched for this error and it does not seem to be reported before.
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Keywords: | needinfo added |
---|
comment:2 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I can't reproduce either and also suspect you have a PluginIssue.
Closing ticket per policy of closing tickets that don't have a response for a few months, described at TracTicketTriage#Howtohelp.
It works fine here with current 0.12-stable, quoting is correct. Please try to reproduce the issue with all plugins disabled. I don't remember having fixed any issues of this kind, but you may also want to update to 0.12.2, just in case.