Message283658
| 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: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 |
|