Yes, that's right. ASSP will decode entities like

%2E
&#46   &#046
˜
 
&x2E

or combinations of entities to the real UTF-8 character.

The problem was for example: 

mail content: 'this is an example'
regex: 'this is an example'

the bombre's have never matched - now the   is decode before the 
check to a space - and the regex will match.

For the older ASSP version the regex must be  'this(?: 
|\ |\&\#0?32|\&\#x20|\%20)is...' to match.

Thomas



Von:    Scott MacLean <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  18.09.2010 03:54
Betreff:        Re: [Assp-test] Antwort: Re: fixes and changes in 
2.0.2_1.2.11




I believe this means that the HTML is decoded/unescaped now BEFORE 
doing the regex. This means that when the spammers include things 
like &#60; and &#61; (which decode to < and >) in their html, we no 
longer have to set up the regex to look for "&#60;" as well as the 
decoded "<". Instead, it decodes the escaped characters like &#60; 
and THEN runs the regex, so the regex only has to look for the "<" 
character instead.


At 04:44 PM 9/17/2010, K Post wrote:

>all HTML entities in the mail body are now decoded before the bomb
>checks are running. Regular expressions must no more contain checks for
>HTML encoded text.
>
>  What do you mean by HTML entities?  Does this mean we couldn't search 
using
>a regex for something like:
>
><b>f r e e</b>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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!
*******************************************************


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to