You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since GAE is patched to side-channel insert this data, it bypasses PHP's built in file uploading functionality (and intentionally disables it). However, the code as it exists currently make a (perhaps superfluous) check to ini_get()...
I am suggesting that the entire if statement is removed, as the only case it would actually prevent from happening is if a user fakes the $_FILE array on a server that has uploads disabled...
I can verify that file uploads work correctly on GAE if you remove this line.
I can raise a PR for the 3 line change, but I figured I'd start off with a discussion first...
The text was updated successfully, but these errors were encountered:
Currently, the upload file handler in request bails on AppEngine because of the
ini_get('file_uploads')
check in the handler:https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/File/UploadedFile.php#L94
Since GAE is patched to side-channel insert this data, it bypasses PHP's built in file uploading functionality (and intentionally disables it). However, the code as it exists currently make a (perhaps superfluous) check to
ini_get()
...I am suggesting that the entire if statement is removed, as the only case it would actually prevent from happening is if a user fakes the
$_FILE
array on a server that has uploads disabled...I can verify that file uploads work correctly on GAE if you remove this line.
I can raise a PR for the 3 line change, but I figured I'd start off with a discussion first...
The text was updated successfully, but these errors were encountered: