Changes between Initial Version and Version 1 of Ticket #13701
- Timestamp:
- Jan 6, 2024, 3:54:26 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13701
- Property Keywords fcgi added; UnicodeEncodeError removed
- Property Component web frontend/mod_wsgi → web frontend
-
Ticket #13701 – Description
initial v1 1 1 this error caused 500 error the click the attachment in ticket. 2 2 3 4 5 https://trac.edgewall.org/browser/branches/1.6-stable/trac/web/_fcgi.py#L1212 6 3 source:/branches/1.6-stable/trac/web/_fcgi.py#L1212 7 4 8 5 fixed the issue by added 'ignore' in encode method. 9 6 10 ``` 7 {{{ 11 8 2024-01-06 10:19:57,084 Trac[main] ERROR: [127.0.0.1] Internal Server Error: <RequestWithSession "GET '/attachment/ticket/8/2023è\x92\x99æ\x96°å\x86¬ä»¤è\x90¥_代ç\x90\x86ä»·.png'">, referrer 'https://trac.foo.bar/ticket/8' 12 9 Traceback (most recent call last): … … 27 24 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 28 25 UnicodeEncodeError: 'latin-1' codec can't encode characters in position 25-26: ordinal not in range(256) 29 30 31 ``` 26 }}}