Project

General

Profile

Actions

Bug #99893

closed

+ in directory name is crashing the File > List module

Added by Xavier Perseguers about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2023-02-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

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

folder.png (8 KB) folder.png Xavier Perseguers, 2023-02-09 09:42

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #93972: Files with "+" in filename can't be replacedNew2021-04-22

Actions
Actions #1

Updated by Xavier Perseguers about 1 year ago

  • Related to Bug #93972: Files with "+" in filename can't be replaced added
Actions #2

Updated by Xavier Perseguers about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Xavier Perseguers about 1 year ago

  • Description updated (diff)
Actions #4

Updated by Gerrit Code Review about 1 year 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

Actions #5

Updated by Gerrit Code Review about 1 year 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

Actions #6

Updated by Oliver Bartsch about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Gerrit Code Review about 1 year 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

Actions #8

Updated by Oliver Bartsch about 1 year ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF