Bug #31589
returnUrl in sysext filelist points to deprecated file_list.php
| Status: | New | Start date: | 2011-11-04 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Backend User Interface | |||
| Target version: | - | |||
| TYPO3 Version: | 4.5 | Complexity: | ||
| PHP Version: | 5.3 | |||
| Votes: | 1 (View) |
Description
Go to the file manager, select a folder, and in the right frame click on the "new" button. Then create a new folder. Now, a new entry is appended to the deprecation log since typo3/file_list.php is called.
The file list is rendered by typo3/sysext/filelist/mod1/file_list.php. There, the "new" button is created as a call to ""../../../file_newfolder.php", which is typo3/file_newfolder.php. The parameter list includes "returnUrl=file_list.php". When returning from file_newfolder, the file_list.php is called relatively to file_newfolder, which is typoe/file_list.php. And so, the deprecation log is triggered.
Should the returnUrl simply include the path to the sysext?
History
Updated by Markus Kappe about 1 year ago
Problem still exists in 4.5.14 and 4.6.7