Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12017, comment 1


Ignore:
Timestamp:
Apr 13, 2015, 7:33:43 AM (9 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12017, comment 1

    initial v1  
    2828     def _parse_cookies(self):
    2929}}}
     30After the patch, the following without traceback would be logged by invalid enoding.
     31{{{
     322015-04-13 13:35:57,989 Trac[main] WARNING: [192.168.11.24] HTTPBadRequest: 400 Bad Request (Invalid encoding in form data: UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: unexpected code byte)
     33}}}
     34
    3035I noticed that `/wiki?%FF=xxxx` doesn't lead the same error. I think we should decode the names to unicode with utf-8 encoding.
    3136{{{#!diff