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: | 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)
Note: See
TracTickets for help on using
tickets.
Duplicate of #3334.