Bug #17729: HTTP_POST_FILES contains 1 bogus entry

From: Date: Wed, 12 Jun 2002 14:46:29 +0000
Subject: Bug #17729: HTTP_POST_FILES contains 1 bogus entry
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10257@lists.php.net to get a copy of this message
From: ivo@ibuildings.nl Operating system: Redhat Linux PHP version: 4.2.1 PHP Bug Type: *General Issues Bug description: HTTP_POST_FILES contains 1 bogus entry I have a form with an <input type="file"> element. If I use Internet Explorer 5.5 to save the form, but *don't* upload a file, there's still an entry in $HTTP_POST_VARS (with empty name, but with a valid mimetype (octet-stream)). This entry should not be there. If I use Mozilla to do the same, it works ok, and $HTTP_POST_FILES is an empty array. You would say this is a browser bug. However, with PHP 4.0.6, we didn't have this problem. -- Edit bug report at http://bugs.php.net/?id=17729&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17729&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17729&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17729&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17729&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17729&r=support Expected behavior: http://bugs.php.net/fix.php?id=17729&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17729&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17729&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17729&r=globals

« previous php.bugs (#10257) next »