PHP 4.0 Bug #10049: Slashes passed thru a file upload

From: Date: Thu, 29 Mar 2001 08:56:24 +0000
Subject: PHP 4.0 Bug #10049: Slashes passed thru a file upload
Groups: php.dev 
Request: Send a blank email to php-dev+get-50191@lists.php.net to get a copy of this message
From: arnaud@cenet.fr Operating system: Win98 / PWS 4.0 PHP version: 4.0.4pl1 PHP Bug Type: Feature/Change Request Bug description: Slashes passed thru a file upload Maybe it's a not a bug but with Php 3.0.7 and PHP 4.0.2, when you upload a file, the file name is not stripslashed but in PHP4.0.4pl1, it is... That's confusing because I use a stripslashes function... Example : I upload "c:\windows\toto.txt" => PHP 3.0.8 and 4.0.2 : i get in the associated variable : "c:\\windows\\toto.txt" so I stripslash it... But in PHP 4.0.4pl1, i get "c:\windows\toto.txt" so when i stripslahs it, it can't find the file "c:windowstoto.txt"... I found a workaround but it's boring... That's all... -- Edit Bug report at: http://bugs.php.net/?id=10049&edit=1

« previous php.dev (#50191) next »