[BUGFIX] Use proper URL for file list of returnUrl in file_upload 29/46729/3
authorBenni Mack <benni@typo3.org>
Tue, 16 Feb 2016 19:58:36 +0000 (20:58 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Wed, 24 Feb 2016 11:15:16 +0000 (12:15 +0100)
commit4177a069286c363deed655346f9290f888f69704
tree41b37b01733df34db36919e18f81701dde7a6865
parent878142297d8a3676fe3b48776987b89b78ddd1a5
[BUGFIX] Use proper URL for file list of returnUrl in file_upload

When the file upload controller is called (which is almost
impossible to call these days) and no return URL is given
(which is again almost impossible), then the URL is invalid.

The patch uses the proper getModuleUrl() call which is
sufficient.

Resolves: #73506
Releases: master, 7.6
Change-Id: I49830e84cb10c14ccb84ea932927898899e58e70
Reviewed-on: https://review.typo3.org/46729
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/File/FileUploadController.php