New submission from bpoaugust: 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. ---------- components: email messages: 283658 nosy: barry, bpoaugust, r.david.murray priority: normal severity: normal status: open title: collapse_rfc2231_value has inconsistent unquoting versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29020> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com