Actions
Task #97214
closedEpic #97353: Fully use PSR-7 instead of superglobals $_FILES
Use uploadedFile objects instead of $_FILES
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2022-03-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
To streamline TYPO3s handling of uploaded files, the PSR implementation and UploadedFile objects should be used. The request already contains the necessary conversion and objects. Extbase and the extension manager need to use the corresponding objects, FAL ResourceStorage should be capable of handling UploadedFile objects, too.
Next steps after this:
- Make FAL use only PSR API methods if possible (--> think about potentially different types of uploaded files per driver as moveTo needs to be able to handle whichever destination type, not only local filesystem)
- Use UploadedFile in Form
- Build real API for uploading files in extbase (see #5718)
Actions