[spambayes-dev] OptionsClass.is_valid too picky?

Skip Montanaro skip at pobox.com
Mon Nov 17 08:34:15 EST 2003


    >> It looks to me like OptionsClass.HEADER_VALUE is too restrictive...

    Tony> It's currently "[\w\.\-\*]+".  Someone here must know offhand what
    Tony> the valid characters in an email header are, yes?  Or do we just
    Tony> go with flexibility and use ".+"?

Anything printable is okay, yes?  that would be [ -~]+ I think.  Do we need
to worry about people including control characters or high-bit-set stuff?

Skip




More information about the spambayes-dev mailing list