Re: Which file "Included" me?

From: Date: Thu, 19 Feb 2009 11:22:30 +0000
Subject: Re: Which file "Included" me?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-288596@lists.php.net to get a copy of this message
Nisse Engström wrote:
On Wed, 18 Feb 2009 10:37:53 -0800, "Michael A. Peters" wrote:
http://www.gfx-depot.com/forum/-php-server-php-self-validation-t-1636.html explains a technique to validate the input as well (don't trust that is clean)
Amazing! Not once did they mention htmlspecialchars(). /Nisse
htmlspecialchars causes problems if you are going to use the data with DOMDocument. I believe the point was to produce a proper _SERVER['PHP_SELF'] - not a sanitized but still borked version.

« previous php.general (#288596) next »