Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13701


Ignore:
Timestamp:
Jan 6, 2024, 3:54:26 PM (4 months ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13701

    • Property Keywords fcgi added; UnicodeEncodeError removed
    • Property Component web frontend/mod_wsgiweb frontend
  • Ticket #13701 – Description

    initial v1  
    11this error caused 500 error the click the attachment in ticket.
    22
    3 
    4 
    5 https://trac.edgewall.org/browser/branches/1.6-stable/trac/web/_fcgi.py#L1212
    6 
     3source:/branches/1.6-stable/trac/web/_fcgi.py#L1212
    74
    85fixed the issue by added 'ignore' in encode method.
    96
    10 ```
     7{{{
    1182024-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'
    129Traceback (most recent call last):
     
    2724                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2825UnicodeEncodeError: 'latin-1' codec can't encode characters in position 25-26: ordinal not in range(256)
    29 
    30 
    31 ```
     26}}}