Changes between Initial Version and Version 1 of Ticket #30227, comment 2


Ignore:
Timestamp:
Mar 1, 2019, 12:28:03 PM (6 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30227, comment 2

    initial v1  
    11Tim, I think that passing an invalid UTF-8 byte sequence as boundary could cause `force_str` to crash with `UnicodeDecodeError`
    22
    3 e.g. `boundary = u'timgràhàm'.encode('latin').decode('utf-8')`
     3e.g. `boundary = u'timgràhàm'.encode('latin')
    44
    55But that might crash even sooner.
Back to Top