* rfc2231.el (rfc2231-parse-string): Ignore repeated parts.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 12 Oct 2010 21:32:19 +0000 (23:32 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 12 Oct 2010 21:32:19 +0000 (23:32 +0200)
commit0d9cddb82f969fbcd4e1c619c69ef731b231f0ff
tree0b473f8f7cf65a08cc27fe92cbe0769a5ca004f9
parent5f09b6ab035ef1c771367733db9b07a2651182d3
* rfc2231.el (rfc2231-parse-string): Ignore repeated parts.

The test case is:

(rfc2231-parse-qp-string "Content-Type: application/x-pkcs7-mime;smime-type=signed-data;name=smime.p7m; smime-type=signed-data; name=\"smime.p7m\"")

This used to return name=smime.p7msmime.p7m, which isn't very helpful.
lisp/ChangeLog
lisp/rfc2231.el