maradydd: (Default)
maradydd ([personal profile] maradydd) wrote2005-02-17 01:14 am

(no subject)

I love Python because of this and this, which are both working together to make my life easier. That is all.

Re: just one question....

[identity profile] pturing.livejournal.com 2005-02-18 11:21 pm (UTC)(link)
well, shit. I guess this means I might have to go back and audit all my code again.
hehe :)

Re: just one question....

[identity profile] maradydd.livejournal.com 2005-02-18 11:46 pm (UTC)(link)
Good on you for actually doing input validation at all. In the past, I've pulled off deep evil by taking advantage of a lack of validation at places like the NIH's website.

Re: just one question....

[identity profile] pturing.livejournal.com 2005-02-19 07:18 am (UTC)(link)
yup, I even have my own system for dealing with cross-site scripting :)
When tags are allowed, I pass everything through html tidy first, and then filter for the naughty stuff. I have tested it against all known XSS methods, but I may still have some work to do on it since I'm using a blacklist filter, rather than the recommended method of using a whitelist. Using tidy of course has the added benefit that my pages are still valid xhtml, even when users put in invalid html.

pulled off deep evil by taking advantage..
yes, I think I remember a post to that effect