Message295093
replace_header has a different semantic than del-and-set (replace_header leaves the header in the same location in the list, rather than appending it to the end...that's it's purpose). If replace_header is throwing a key error, then I guess we need a look-before-you-leap if statement.
And a test :)
Note that a correct fix would preserve the broken input email, but since we're obviously already doing munging I'm fine with just making this work for now. |
|
Date |
User |
Action |
Args |
2017-06-03 18:10:12 | r.david.murray | set | recipients:
+ r.david.murray, barry, msapiro, maciej.szulik, Johannes Löthberg |
2017-06-03 18:10:12 | r.david.murray | set | messageid: <1496513412.77.0.60899842333.issue27321@psf.upfronthosting.co.za> |
2017-06-03 18:10:12 | r.david.murray | link | issue27321 messages |
2017-06-03 18:10:12 | r.david.murray | create | |
|