[spambayes-dev] OptionsClass.is_valid too picky?

Tim Peters tim.one at comcast.net
Mon Nov 17 09:54:36 EST 2003


[Skip]
> It looks to me like OptionsClass.HEADER_VALUE is too
> restrictive... 
> ...
> Anything printable is okay, yes?

The colon is forbidden in a header field name.

> that would be [ -~]+ I think.

The blank is also forbidden in a header field name.

> Do we need to worry about people including control characters or
> high-bit-set stuff?

Not if people are willing to adhere to the standard <wink>.



More information about the spambayes-dev mailing list