Edgewall Software
Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#12092 closed defect (cantfix)

Unicode character in ticket summary broken decoding

Reported by: Massimo <massimo.b@…> Owned by:
Priority: normal Milestone:
Component: timeline Version: 1.0.5
Severity: normal Keywords: escape
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

having a ticket summary with a '&' sign inside results in a &amp; in the timeline.

Attachments (0)

Change History (9)

comment:1 by Christian Boos, 5 years ago

Putting my money on TracStandalone#Usingtracdbehindaproxy ;-)

comment:2 by Ryan J Ollos, 5 years ago

Keywords: needinfo added

comment:3 by Massimo <massimo.b@…>, 5 years ago

Sorry, what information is needed? I'm not running Tracd behind a proxy. I'm running Trac with uWSGI and Nginx.

comment:4 by Christian Boos, 5 years ago

Well I was a bit too hasty with this one, in fact it couldn't have been the usual "double URL encoding" issue sometimes seen with AJP and flup, as here we have in fact an extraneous level of XML encoding… and not in the URLs but in the content.

So again, to be sure:

  • going to the ticket page, you see "#1 - this & that"?
  • going to the timeline, you see "#1 - this &amp; that"?

Is the timeline.html rendered with a custom template? Does it also happen with plugins disabled?

in reply to:  4 comment:5 by Massimo <massimo.b@…>, 5 years ago

Replying to cboos:

  • going to the ticket page, you see "#1 - this & that"?
  • going to the timeline, you see "#1 - this &amp; that"?

I retried. Yes, correct.

Is the timeline.html rendered with a custom template?

There is no file for find -name "*timeline*" in the project.

Does it also happen with plugins disabled?

Right, disabling all Plugins the issue in the timeline is gone, however I can't even login without AccountManager. Which plugin could be responsible?

RoadmapHours-0.5-py2.7.egg
SimpleMultiProject-0.0.4dev_r14359-py2.7.egg
TracAccountManager-0.4.3-py2.7.egg
TracAnnouncer-1.0dev_r0-py2.7.egg
TracAutocompleteUsersPlugin-0.4.3dev_r14213-py2.7.egg
TracCodeReviewer-0.0.3-py2.7.egg
TracDiscussion-0.9dev_r14140-py2.7.egg
TracDynamicFields-2.2.0.dev0-py2.7.egg
TracFullBlogPlugin-0.1.1_r0-py2.7.egg
TracGanttCalendarPlugin-0.6.4_r859-py2.7.egg
TracMasterTickets-4.0.0dev_r0-py2.7.egg
TracWatchlistPlugin-1.0.1-py2.7.egg
TracWikiExtras-1.0dev_r14316-py2.7.egg
TracWorkflowAdmin-0.12.0.2-py2.7.egg
TracWysiwyg-0.12.0.5.post0-py2.7.egg
WikiAutoComplete-1.0-py2.7.egg

comment:6 by Jun Omae, 5 years ago

Last edited 5 years ago by Jun Omae (previous) (diff)

comment:7 by Massimo <massimo.b@…>, 5 years ago

Yes, disabling SimpleMultiProject solves it as well. Can you add a workaround from your side, or should I file another ticket for that plugin?

comment:8 by Jun Omae, 5 years ago

Component: generaltimeline
Keywords: escape added; encoding unicode needinfo removed
Resolution: cantfix
Status: newclosed

No workaround on Trac. That is a th:SimpleMultiProjectPlugin issue, not a Trac issue. Please report it to the plugin maintainers.

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.