http://bugzilla.spamassassin.org/show_bug.cgi?id=3825





------- Additional Comments From [EMAIL PROTECTED]  2004-09-27 15:57 -------
Subject: Re:  Unescaped '#' in rawbody causes havoc

On Mon, Sep 27, 2004 at 03:49:59PM -0700, [EMAIL PROTECTED] wrote:
> Then comments don't need to be escaped.  I think that would involve less
> surprise and also solves the problem.  I don't think this is purely a
> documentation problem.

It depends on your definition of "less surprise" I guess.  In perl and
shell, inline comments are allowed.  Older SA versions allowed it as well
(this is from 2.64):

  foreach (split (/\n/, $_[1])) {
    s/(?<!\\)#.*$//; # remove comments

So it's not like this is a new issue in 3.0.0.  Either we want to agree to
change the behavior of comments, require only whole line comments, and then
allow non-escaped RE, or leave it the way it's been for the last year plus,
and just document that an escape is required for # chars in RE.

IMO, "less surprise" is the latter.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to