Would you be willing to share your modded cf_codecleaner custom tag?

Thanks!
MAD

> Yes, I did virtually the same except I modified cf_codecleaner to do 
> the CompareNoCase within the tag, email me the details and cflocation 
> (I'm going to make a "special" 500 page as I can't get cfheader to 
> work with all browsers - notably cfheader, and do away with 
> cflocation). This keeps the application.cfm less "cluttered" as I can 
> then do all the business within one line of code in application.cfm.
> 
> Also I use #urldecode(cgi.query_string)# as otherwise %3c (percent 3 
> c) will not be scrubbed (also applies to all other HTML escaped 
> encoding).
> 
> Within the script tags I also added:
> 
> // remove other...
> // [ and ] have to be handled seperately
> 
        
> other="[\(){}]"; 
        
> tmp = REReplace(tmp,other,"","ALL"); 
        
> tmp = Replace(tmp,"[","","ALL"); 
        
> tmp = Replace(tmp,"]","","ALL");
>               
>       tmp = Replace(tmp,"+","","ALL");
>       tmp = Replace(tmp,"*","","ALL");
> 
> It's pretty consistant at around 15-16ms which is good.
> 
> regards, Andrew.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to