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 bpoaugust
Recipients barry, bpoaugust, r.david.murray
Date 2016-12-20.00:30:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482193812.46.0.729778317823.issue29020@psf.upfronthosting.co.za>
In-reply-to
Content
collapse_rfc2231_value unquotes the value before returning it except here:

rawbytes = bytes(text, 'raw-unicode-escape')
return str(rawbytes, charset, errors)

Why is the text not unquoted in this case?

Actually I wonder whether the function should do any unquoting at all.
There is at least one case where it is called with an already unquoted value (get_boundary, see issue28945).

But if it is intended to do unquoting, it should be consistent.
History
Date User Action Args
2016-12-20 00:30:12bpoaugustsetrecipients: + bpoaugust, barry, r.david.murray
2016-12-20 00:30:12bpoaugustsetmessageid: <1482193812.46.0.729778317823.issue29020@psf.upfronthosting.co.za>
2016-12-20 00:30:12bpoaugustlinkissue29020 messages
2016-12-20 00:30:12bpoaugustcreate