Immediately after starting 0.5.04, I'm getting lots of errors.  I've
rolled back to 0.5.03 (to my dismay due to the whitelist errors).

Oct-24-09 20:50:36 Error: Worker_4: Nested quantifiers in regex;
marked by <-- HERE in m/Subject: ** <-- HERE SPAM:/ at c:\assp\assp.pl
line 17503.

The worker then dies and is restarted.

My Prepend Spam Subject (spamSubject) is "**SPAM:" and we have many
users who are only tagging messages

Seems like the ** is causing the problem.

The lines in question, have been changed from (v 2.0.1 rc 0.5.03)

            $this->{header} =~ s/^Subject:/Subject: $spamSubject/gim
              if $spamSubject;

to (in 2.0.1 rc 0.5.04)

            $this->{header} =~ s/^Subject:/Subject: $spamSubject/im
              if $spamSubject && $this->{header} !~ /Subject: $spamSubject/i;

I don't know if this is breaking things because I have the *'s in my
spamsuject or what.  Unfortunately, I can't change the spam subject.
There are just too many users filtering on that in their clients.

Does $spamSubject in that second line need to have special characters
escaped or something?

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to