Re: [Evolution] Attachment names with



Umm, this is not a bug.

rfc2046:
     content := "Content-Type" ":" type "/" subtype
                *(";" parameter)
                ; Matching of media type and subtype
                ; is ALWAYS case-insensitive.

     parameter := attribute "=" value

     attribute := token
                  ; Matching of attributes
                  ; is ALWAYS case-insensitive.

     value := token / quoted-string

     token := 1*<any (US-ASCII) CHAR except SPACE, CTLs,
                 or tspecials>

And then rfc2047 (page 7)
   These are the ONLY locations where an 'encoded-word' may appear.  In
   particular:

   + An 'encoded-word' MUST NOT appear in any portion of an 'addr-spec'.

   + An 'encoded-word' MUST NOT appear within a 'quoted-string'.

   + An 'encoded-word' MUST NOT be used in a Received header field.

   + An 'encoded-word' MUST NOT be used in parameter of a MIME
     Content-Type or Content-Disposition field, or in any structured
     field body except within a 'comment' or 'phrase'.



So this last item (and it being a quoted-string) explicitly forbids this.
And ther eis no requirement in the following seciton that this be even
understood.




Thanks, I've just entered this into bugzilla.

Jeff

On 24 May 2001 10:14:34 +0200, Juan Alonso Hernández wrote:
Evo doesn't seem to parse correctly the name of an attachment when it
has 'foreign' characters. This is an actual attachment. Evo displays it
and prompt me to save it as:
=?iso-8859-1?Q?Campa=F1a_verano_2001_Experto_en_Seguridad_=28oferta=29=2Edoc?=



------_=_NextPart_000_01C0E2E9.8F93CF60
Content-Type: application/msword;
name="=?iso-8859-1?Q?Campa=F1a_verano_2001_Experto_en_Segur?=
=?iso-8859-1?Q?idad_=28oferta=29=2Edoc?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="=?iso-8859-1?Q?Campa=F1a_verano_2001_Experto_en_S?=
=?iso-8859-1?Q?eguridad_=28oferta=29=2Edoc?="



-- 
-
Juan Alonso Hernández <jah nekkar es>

(34) 915 239 681

Security Team
Heyde España

PGP 
 Signature: www.dharana.net/dharana.asc
 Fingerprint:   408A 70EF 1457 5BC4 CCB1 6324 640E 6F32 B50B 4E68
-

_______________________________________________
evolution maillist  -  evolution helixcode com
http://lists.helixcode.com/mailman/listinfo/evolution



_______________________________________________
evolution maillist  -  evolution helixcode com
http://lists.helixcode.com/mailman/listinfo/evolution






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]