Thanks On Sun, Oct 25, 2009 at 3:09 AM, Thomas Eckardt/eck <[email protected]> wrote: > change the two line to : > > $this->{header} =~ s/^Subject:/Subject: $spamSubject/im > if $spamSubject && $this->{header} !~ /Subject: > \Q$spamSubject\E/i; > > this will be changed in 5.05 > > Thomas > > > > > K Post <[email protected]> > 25.10.2009 02:55 > Bitte antworten an > ASSP development mailing list <[email protected]> > > > An > ASSP development mailing list <[email protected]> > Kopie > > Thema > [Assp-test] URGENT: 2.0.1 rc 0.5.04 threads crashing suddenly. > > > > > > > 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 > > > > DISCLAIMER: > ******************************************************* > This email and any files transmitted with it may be confidential, legally > privileged and protected in law and are intended solely for the use of the > > individual to whom it is addressed. > This email was multiple times scanned for viruses. There should be no > known virus in this email! > ******************************************************* > > > ------------------------------------------------------------------------------ > 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 >
------------------------------------------------------------------------------ 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
