Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
remove-exernal-resources.patch | Remove fetched external images from the documentation. | Hugo Lefeuvre <hle@debian.org> | not-needed | 2016-07-03 | ||
6332a429ed415187599ecce7d8a169ee19f0bbe5.patch | [PATCH] scripts/pyzor: read stdin as binary in _get_input_msg(). Reading stdin in python-3.x is done as text, with a best-guess encoding. But this can go awry: for example, if an iso-8859-1 message is passed in and if python guesses the "utf-8" encoding, then read() will fail with a UnicodeDecodeError on non-ASCII characters. For example, the "copyright" symbol is a single byte 0xa9 in iso-8859-1, and the utf-8 decoder can't handle it: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa9... invalid start byte Instead -- and as was done in python-2.x -- we can read stdin as binary using the new get_binary_stdin() function. Afterwards, we use email.message_from_bytes() instead of the email.message_from_file() constructor to parse the byte data. The resulting function is able to correctly parse these messages. |
Michael Orlitzky <michael@orlitzky.com> | no | 2018-03-04 | ||
67b471dd168db9468548aef3ffadca9554164ac0.patch | commit 67b471dd168db9468548aef3ffadca9554164ac0 Refs #38 - The temporary file is first opened in binary form and then read, thus avoiding encoding issues. |
AVPS <andreivplesa@gmail.com> | no | 2016-01-19 | ||
changes-for-new-python3.patch | Changes for new python3 | Colin Turner <ct@piglets.org> | no | debian |