#31757 [NEW]: $_FILES['userfile']['name'] returns entire directory with IE
| From: | andrew at eiknet dot com | Date: | Sun, 30 Jan 2005 00:01:28 +0000 |
| Subject: | #31757 [NEW]: $_FILES['userfile']['name'] returns entire directory with IE | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73054@lists.php.net to get a copy of this message | ||
From: andrew at eiknet dot com
Operating system: RH Linux 8
PHP version: 4CVS-2005-01-30 (stable)
PHP Bug Type: *Directory/Filesystem functions
Bug description: $_FILES['userfile']['name'] returns entire directory with IE
Description:
------------
While uploading a file using a script the $_FILES['userfile']['name']
variable returns the entire upload path, but only when using IE. The
issue does not show up using Firefox.
Using IE:
$_FILES['userfile']['name'] -> C:\Documents and
Settings\RARankin\Desktop\groupe_alliance_2004_gb.jpg
Using Firefox:
$_FILES['userfile']['name'] -> groupe_alliance_2004_gb.jpg
Didnt happen before updating to 4.3.10+, I'm using a dev version due to
compilation errors w/ GD in *.10.
Error showed itself w/ phpBB's attachment modification.
Andrew
--
Edit bug report at http://bugs.php.net/?id=31757&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31757&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31757&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31757&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31757&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31757&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31757&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31757&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31757&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31757&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31757&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31757&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31757&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31757&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31757&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31757&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31757&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31757&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31757&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31757&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31757&r=mysqlcfg