[prev in list] [next in list] [prev in thread] [next in thread]
List: spamassassin-devel
Subject: [Bug 5076] New: Missing trimming of backslashes before # signs
From: bugzilla-daemon () issues ! apache ! org
Date: 2006-08-31 16:55:18
Message-ID: 5076.dev () spamassassin ! apache ! org
[Download RAW message or body]
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5076
Summary: Missing trimming of backslashes before # signs
Product: Spamassassin
Version: 3.1.4
Platform: PC
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Libraries
AssignedTo: dev@spamassassin.apache.org
ReportedBy: mail@jonaspasche.com
man Mail::SpamAssassin::Conf says:
"if the # character is to be used as part of a rule or configuration option, it
must be escaped with a backslash. i.e.: \#"
However, if you use \#, the backslash gets not stripped. For example:
I want a subject of:
Subject: ###SPAM### <original subject>
Thus I configure:
rewrite_header Subject \#\#\#SPAM\#\#\#
But now my subject reads:
Subject: \#\#\#SPAM\#\#\# <original subject>
This bug has been identified on the mailing list before:
Using a # character in a spam report
http://thread.gmane.org/gmane.mail.spam.spamassassin.general/83869
Header Tagging with # instead of *
http://thread.gmane.org/gmane.mail.spam.spamassassin.general/64667
Attached is a one-liner I wrote to work around this bug.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic