Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Help, Suggestions, Bug Reports. |
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - HTML filter thing | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Boom.dk Since: 11-18-05 From: Denmark Last post: 6315 days Last view: 6297 days |
| ||
function fixhtml($string) {
(edited by Boom.dk on 08-05-06 01:22 PM) (edited by Boom.dk on 08-05-06 01:22 PM) |
|||
KeiiChi Kun Leever Learn some manners. Password changed to gibberish and IP banned. Since: 01-01-06 From: Sushi Bar Last post: 6310 days Last view: 6310 days |
| ||
Wow, looks pretty useful, I'll try and cram it in my board somewhere. (edited by KeiiChi Kun on 08-05-06 01:18 PM) |
|||
Boom.dk Since: 11-18-05 From: Denmark Last post: 6315 days Last view: 6297 days |
| ||
*updated
Edit: Also, this was actually thought for help/suggestions, so would somebody please move it there? Thanks. (edited by Boom.dk on 08-05-06 01:29 PM) |
|||
DarkSlaya 930 Gamma Ray Since: 11-17-05 From: Montreal, Canada Last post: 6297 days Last view: 6297 days |
| ||
Lolmove(tm) | |||
Cellar Dweller + Red Koopa Since: 11-18-05 From: Arkansas Last post: 6306 days Last view: 6297 days |
| ||
I've always thought(and still do) that the right way to filter HTML is to parse it and check for illegal tags, improper nesting, missing closing tags, and prohibited attributes. While harder to code, I believe that it would be much stronger against deliberate attempts to inject malicious markup than any regex based method could ever hope to be.
Too bad it is a lot more work. |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Help, Suggestions, Bug Reports - HTML filter thing | | |