anomy-bugs

case insensitive content types

From: Bernd Rothert (04906@xyz.molar.is)
Date: Fri 18 May 2001 - 11:31:48 UTC

  • Next message: Bjarni R. Einarsson: "Re: case insensitive content types"

    I noticed that the sanitizer also defangles attachments
    of type "TEXT/PLAIN" if the content type is written
    in upper case.

    Adding a lower case conversion to the default filename
    selection keeps it from defangling the text attachments:

    --- sanitizer.igncase.pat ---

    845c845
    < my $t = $default_filenames->{$$typep};

    ---
    >         my $t = $default_filenames->{lc $$typep};
    

    --- sanitizer.igncase.pat ---

    Bernd



    hosted by molar.is