Bug #4207: $userfile_name may contains a path
| From: | dividuum at gmx dot net | Date: | Thu, 20 Apr 2000 19:33:34 +0000 |
| Subject: | Bug #4207: $userfile_name may contains a path | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18079@lists.php.net to get a copy of this message | ||
From: dividuum@gmx.net
Operating system: Linux (tested)
PHP version: 3.0.16
PHP Bug Type: Documentation problem
Bug description: $userfile_name may contains a path
It is possible that the variable $userfile_name contains a path. This might be a problem, since
programmers may rely on the documentation which tells them:
$userfile_name - The original name of the file on the sender's system.
I tested 3.0.6, 3.0.12, 3.0.16 (source only), and php4RC1.
For an example you might check out
http://www.dividuum.de/download/phpupload.html