Req #76372 [Opn->Fbk]: Add INPUT_FILES type to filter_input
| From: | cmb@php.net | Date: | Mon, 27 Jan 2020 11:50:51 +0000 |
| Subject: | Req #76372 [Opn->Fbk]: Add INPUT_FILES type to filter_input | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225134@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76372&edit=1
ID: 76372
Updated by: cmb@php.net
Reported by: fernandopsilveira at yahoo dot com dot br
Summary: Add INPUT_FILES type to filter_input
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: Filter related
Operating System: Linux
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
What exactly should be validated? I mean, which filters with
which options/flags should be implemented?
Previous Comments:
------------------------------------------------------------------------
[2018-05-24 13:53:35] fernandopsilveira at yahoo dot com dot br
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 this bug report at https://bugs.php.net/bug.php?id=76372&edit=1