Req #76372 [NEW]: Add INPUT_FILES type to filter_input
| From: | fernandopsilveira at yahoo dot com dot br | Date: | Thu, 24 May 2018 13:53:39 +0000 |
| Subject: | Req #76372 [NEW]: Add INPUT_FILES type to filter_input | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-215356@lists.php.net to get a copy of this message | ||
From: fernandopsilveira at yahoo dot com dot br
Operating system: Linux
PHP version: Irrelevant
Package: Filter related
Bug Type: Feature/Change Request
Bug description:Add INPUT_FILES type to filter_input
Description:
------------
Many IDEs recommend to not access superglobals directly because you must
validate and/or sanitize their contents before using them; filter_input
is the best way to do it - also avoiding call the superglobal - but
there are still some input types missing.
INPUT_FILES type is certainly one of them, really needed for file upload
validations.
--
Edit bug report at https://bugs.php.net/bug.php?id=76372&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76372&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76372&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76372&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76372&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76372&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76372&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76372&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76372&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76372&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76372&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76372&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76372&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76372&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76372&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76372&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76372&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76372&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76372&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76372&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76372&r=mysqlcfg