This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zvyn
Recipients BreamoreBoy, Illirgway, giampaolo.rodola, petri.lehtinen, r.david.murray, zvyn
Date 2014-07-09.15:33:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404919982.67.0.973661276669.issue19806@psf.upfronthosting.co.za>
In-reply-to
Content
I do not think that the proposed patch solves the bug because it silently changes binary input. With the patch for issue 19662 a proper solution to avoid this bug has been applied. The only thing left is to prevent the server to raise the exception when in legacy mode. Instead of deleting single bytes from the input (which is what .decode('utf-8', 'ignore') does) I would reply with an error to the client. The attached patch implements and tests this behaviour.
History
Date User Action Args
2014-07-09 15:33:02zvynsetrecipients: + zvyn, giampaolo.rodola, r.david.murray, BreamoreBoy, petri.lehtinen, Illirgway
2014-07-09 15:33:02zvynsetmessageid: <1404919982.67.0.973661276669.issue19806@psf.upfronthosting.co.za>
2014-07-09 15:33:02zvynlinkissue19806 messages
2014-07-09 15:33:02zvyncreate