Task #97214
closedEpic #97353: Fully use PSR-7 instead of superglobals $_FILES
Use uploadedFile objects instead of $_FILES
100%
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)
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 12 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 13 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 14 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Gerrit Code Review over 2 years ago
Patch set 15 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73868
Updated by Susanne Moog over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ebce72550df59b1bb4d7031c6fbee2ef927d0272.
Updated by Andreas Kienast over 1 year ago
- Related to Bug #100362: Issue with imageUpload and fileUpload fieds added
Updated by Stephan Großberndt over 1 year ago
- Precedes Bug #101142: Allow UploadedFile in Folder->addUploadedFile() added
Updated by Christian Kuhn over 1 year ago
- Related to Task #101501: Remove backwards-compat files array in extbase added
Updated by Daniel Goerz about 1 year ago
- Related to Bug #102283: Extbase file upload using type converters not possible any more added
Updated by Torben Hansen about 1 year ago
- Related to deleted (Bug #102283: Extbase file upload using type converters not possible any more)
Updated by Daniel Goerz 10 months ago
- Related to Epic #103022: Extbase file upload handling added
Updated by Daniel Goerz 10 months ago
- Related to Bug #102271: Broken backwards compatibility in request builder for file uploads as object property added
Updated by Daniel Goerz 10 months ago
- Related to Bug #102283: Extbase file upload using type converters not possible any more added