Req #76372 [Fbk->NoF]: Add INPUT_FILES type to filter_input

From: Date: Sun, 09 Feb 2020 04:22:09 +0000
Subject: Req #76372 [Fbk->NoF]: Add INPUT_FILES type to filter_input
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225462@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: php-bugs@lists.php.net Reported by: fernandopsilveira at yahoo dot com dot br Summary: Add INPUT_FILES type to filter_input -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: Filter related Operating System: Linux PHP Version: Irrelevant Assigned To: cmb Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-01-27 11:50:51] cmb@php.net What exactly should be validated? I mean, which filters with which options/flags should be implemented? ------------------------------------------------------------------------ [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

« previous php.bugs (#225462) next »