note 14866 added to security.php
| From: | php-general at lists dot php dot net | Date: | Sat, 18 Aug 2001 05:33:38 +0000 |
| Subject: | note 14866 added to security.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16864@lists.php.net to get a copy of this message | ||
About the "Escape Shell" Vulnerability & the acceptable chars...
$characters = "abcdefghijklmnopqrstuvwxyz0123456789.";
...is not right...these are supposed to be acceptable chars for a domain? right? well domains can
have a - char in it (dash)...so should be...
$characters = "abcdefghijklmnopqrstuvwxyz0123456789.-";
...or atleast something with - in it
http://www.php.net/manual/en/security.php