Re: Sanitizer dropping content-transfer-encoding?

From: Paolo (
Date: Fri 12 May 2006 - 07:20:34 GMT

  • Next message: Kevin Shanahan: "Re: Sanitizer dropping content-transfer-encoding?"

    On Fri, May 12, 2006 at 06:46:40AM +0930, Kevin Shanahan wrote:
    > far as I can tell, RFC2045 doesn't require a space between the
    > "Content-Transfer-Encoding:" and the mechanism. Does the attached patch
    > look okay?

    yes - and while we are at it, I'd change it to

    - elsif ($line =~ /^([^\s]+):\s(.*)$/)
    + elsif ($line =~ /^([^\s]+):\s*(.*)$/)

    though ^\s+ in mechanism would be discarded by next parsing anyway.

    -- paolo

    hosted by