This is not needed 

- assp decodes all MIME encodings in &cleanMIMEBody2UTF8($bd).

- assp decodes all HTML  encodings in
           $data = decHTMLent($data);.
  and
            $uri =~ s/\%([a-f0-9]{2})/chr(hex($1))/gieo;           # 
decode percents
            $uri =~ s/\&\#(\d+)\;?/decHTMLentHD($1)/geo;          # decode 
&#ddd's
            $uri =~ 
s/\&\#x((?:[a-f0-9]{2})+)\;?/decHTMLentHD($1,'h')/geio;         # decode 
&#xHHHH's



Thomas




Von:    Michael Thomas <[email protected]>
An:     ASSP development mailing list <[email protected]>
Datum:  10.03.2012 20:21
Betreff:        [Assp-test] URI Scanning fixes



Thomas,

In sub URIBLok_Run I made the following modifications to handle two URI 
variants:

Variant 1: href=3d"http://...
Variant 2: http://somename&#12290;com


     my $data = &cleanMIMEBody2UTF8($bd);
     $data =~ s/\=(?:\015?\012|\015)//go;
     # MIKE
     $data =~ s/href\=3[dD]/href\=/go;
     $data =~ s/\&\#12290\;/./go;
     # End MIKE
     $data = decHTMLent($data);


-- 
Michael Thomas
Mathbox
978-687-3300
Toll Free: 1-877-MATHBOX (1-877-628-4269)


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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!
*******************************************************


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to