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
Updated by Xavier Perseguers almost 2 years ago
- Related to Bug #93972: Files with "+" in filename can't be replaced added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 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/+/77881
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 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/+/77881
Updated by Oliver Bartsch almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7df6bd6e95303e23b76ef950fbc85e1b70c4a21c.
Updated by Gerrit Code Review almost 2 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77884
Updated by Oliver Bartsch almost 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 74d2ab6c035d69027704d77a74bd402f909f1f2e.