Re: Filtering _REQUEST.. Why is this bad?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Travis Doherty wrote:
> Why is this so bad?
> 
> <?php
> // blindly run everything in _REQUEST through htmlentities

1. That's escaping, not filtering.
2. http://shiflett.org/archive/178
3. Using $_REQUEST is sloppy and makes CSRF attacks easier.

Maybe more? This is bad for all the reasons magic_quotes_gpc is bad...

Chris

-- 
Chris Shiflett
http://shiflett.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux