Changes between Initial Version and Version 1 of Ticket #12017, comment 1
- Timestamp:
- Apr 13, 2015, 7:33:43 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12017, comment 1
initial v1 28 28 def _parse_cookies(self): 29 29 }}} 30 After the patch, the following without traceback would be logged by invalid enoding. 31 {{{ 32 2015-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 30 35 I noticed that `/wiki?%FF=xxxx` doesn't lead the same error. I think we should decode the names to unicode with utf-8 encoding. 31 36 {{{#!diff