Bug #88163

InvalidArgumentException on uploading file starting with umlauts

Added by Stephan Großberndt about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2019-04-17
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

If you upload a file starting with an umlaut, e.g.

"ällgemeines Döküment.txt"

to a TYPO3 instance using UTF8filesystem = true this leads to an error although the file was uploaded

Error after uploading the file

and an exception on accessing the folder the file was uploaded to

Exception on accessing the folder containing the file

This seems to be the case due to TYPO3 stripping the leading umlauts when processing the file for FAL but keeping them in the uploaded file stored in the folder.

error_after_upload.png View - Error after uploading the file (40.2 KB) Stephan Großberndt, 2019-04-17 11:29

exception_folder_access.png View - Exception on accessing the folder containing the file (92.5 KB) Stephan Großberndt, 2019-04-17 11:30

screenshot.png View (4.72 KB) Frans Saris, 2019-04-17 17:00

History

#1 Updated by Frans Saris about 1 month ago

For me it doesn't break in TYPO3 8 but in TYPO3 9 it does

#2 Updated by Frans Saris about 1 month ago

if you look at the stacktrace you see that de fileIndentifier is somewhere trimmed. The first char is removed

#3 Updated by Stephan Großberndt about 1 month ago

  • Is Regression set to Yes

Also available in: Atom PDF