Bug #99893
closed+ in directory name is crashing the File > List module
100%
Description
When you have a folder with a "+" in its name, the context menu does not pop up.
Reason: the AJAX call is passing the non-urlencoded name as parameter, thus replacing the "+" with a blank space.
How to reproduce¶
Create a directory with a "+" symbol (cannot be done from TYPO3, do it in terminal):
$ cd /path/to/fileadmin $ mkdir two\+words
Go to Fileadmin in TYPO3 Backend and try to show the context menu on that directory, within the file tree:
Nothing happens!
Technical info¶
- AJAX: https://v10.typo3dev.loc/typo3/index.php?route=%2Fajax%2Fcontext-menu&token=6204a3c98a8d4faed6ddc60d361a99d0748d6def&table=sys_file&uid=1:/a-foo/two+words/&context=tree
- We read the vanilla argument uid=1:/a-foo/two+words/
instead of the URL encoded one, the one you get when you show a file within that directory using the corresponding action button:
- https://v10.typo3dev.loc/fileadmin/a-foo/two%2Bwords/foo.txt
- uid=1:/a-foo/two%2Bwords/
Files