[imp] Encoding OfContent-Disposition: attachment; filename

Michael M Slusarz slusarz at horde.org
Thu May 28 18:42:39 UTC 2009


Quoting "admin at vilagkozepe.hu" <viktor at indamail.hu>:

> Hello!
>
> My imp is "Mail (imp)  H3 (4.3.4)"
> I've just upgraded from a really old Horde. New imp is Great. (I  
> haven't migrates, my .confs are brand new.
> I have a pythonfilter running that heals ever RFC-ignorant mail.
>
> For example the attachment FILENAME field.
>
> imp generates:
> --------------------------------
> Content-Disposition: attachment;
>  filename*="utf-8''acc%C3%89nt.txt"
> --------------------------------
>
>
> my script corrects this as follows:
> --------------------------------
> Content-Disposition: attachment; filename="=?utf-8?q?acc=C3=89nt=2Etxt?="
> --------------------------------
>
> Is the First form correct? [I know I should look at RFC :) ]
> Why was that changed in imp?

RFC 2231.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list