Modify

Opened 15 years ago

Closed 15 years ago

#5987 closed defect (duplicate)

Unicode error if tag points to wiki page with non-ascii name

Reported by: ukubuku@… Owned by: Alec Thomas
Priority: highest Component: TagsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

It is not a problem to have non-ascii tag names, but if a page with non-ascii name has some tags, and you trying to find the page by the existing tag like:

/tags?q='system' аnd the page 'Система' (cyrillic wiki page name) has the tag "System" then:

you got an internal error:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)

Trace:

File "/Library/Python/2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/main.py", line 435, in _dispatch_request
File "/Library/Python/2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/main.py", line 205, in dispatch
File "build/bdist.macosx-10.5-i386/egg/tractags/web_ui.py", line 99, in process_request
File "build/bdist.macosx-10.5-i386/egg/tractags/macros.py", line 80, in expand_macro
File "build/bdist.macosx-10.5-i386/egg/tractags/macros.py", line 80, in <lambda>

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by Michael Renzmann

Resolution: duplicate
Status: newclosed

Duplicate of #3334.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.