nmh-workers
[Top] [All Lists]

[Nmh-workers] content type syntax?

2008-05-07 05:41:16
can someone tell me whether this is legal syntax for
a Content-Type field?

--Apple-Mail-21--97781285
Content-Transfer-Encoding: base64
Content-Type: application/pdf;
        x-unix-mode=0644;
        name=Low Cost Laptop.pdf  
Content-Disposition: inline;
        filename="Low Cost Laptop.pdf"
            

the issue, unsurprisingly, is the lack of quotes on the "name="
field.  i have the following rule in .mh_profile, which catches
otherwise unhandled application types and lets me save the file:

    mhshow-show-application: fallback_save '%f' '%a'

when invoked, the fallback_save script is getting the string:

    'x-unix-mode="0644" name="Low"'

(without the single quotes) as its second argument.

so -- who's at fault, and if it's apple mail, is there a way
to make mhshow handle this better?

paul
=---------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 58.3 degrees)


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>