|
Andrew's Security Filter(s) v5.62 (May 10, 2009)
|
|
Jun. 16, 2008, 03:33 AM
Post: #50
|
|||
|
|||
|
RE: Andrew's Security Filter(s) v5.56 (June 15, 2008)
I worked on a filter that replaces tag names only, but it doesn't seem to work that well xD The filter below replaces offending tags with "foobar", but if you go on http://www.cnn.com, you'll see that it doesn't remove the contents of script tags.
I tried replacing foobar with div style="display:none;" and even tried to comment out the entire code with <!-- and -->, but only remembered that any nested allowed tags would be hidden. Good test code would be <object><embed></object>. (with <embed> tags being allowed) Code: [Patterns]EDIT: This one comments out the entire block of code (included any nested allowed tags =[): Code: [Patterns] |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help






![[-]](images/ONi/collapse.gif)