Message283658
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. |
|
Date |
User |
Action |
Args |
2016-12-20 00:30:12 | bpoaugust | set | recipients:
+ bpoaugust, barry, r.david.murray |
2016-12-20 00:30:12 | bpoaugust | set | messageid: <1482193812.46.0.729778317823.issue29020@psf.upfronthosting.co.za> |
2016-12-20 00:30:12 | bpoaugust | link | issue29020 messages |
2016-12-20 00:30:12 | bpoaugust | create | |
|