#3811: Header parameter with RFC2231 continuation joined in wrong order
-----------------------+----------------------
Reporter: mwiesner | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone:
Component: MIME | Version: 1.5.24
Resolution: | Keywords:
-----------------------+----------------------
Comment (by tamo):
See https://dev.mutt.org/hg/mutt/file/bd0e695f627e/rfc2231.c#l250
{{{
* Primary sorting key: attribute
* Secondary sorting key: index
*/
static void rfc2231_list_insert (struct rfc2231_parameter **list,
struct rfc2231_parameter *par)
{
...
c = strcmp (par->value, q->value);
if ((c > 0) || (c == 0 && par->index >= q->index))
break;
}}}
It compares values, not attribute!
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3811#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent