Le Tue, Aug 22, 2006 at 11:33:55AM +0100, Sam Morris a écrit :
> 
> It would be nice if update-mime would check the syntax of the .mime
> files it creates /etc/mailcap from. This would make bugs such as #373178
> easier to detect.

Dear Sam,

I am considering to emit a warning if lines do not start with a proper
media type, for instance with the following regular expression:

    ^[a-zA-Z0-9][a-zA-Z0-9!#\$&^_*-]*/[a-zA-Z0-9][a-zA-Z0-9!#\$&^_*-]*;

This would break support for continuation lines, but it seems that they are
not used in that context.  I have asked for feedback on debian-devel.

    https://lists.debian.org/[email protected]

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to