Bug #23382

meaningfulTempFilePrefix does not convert Umlauts and special characters

Added by Sebastian Michaelsen about 9 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-08-16
Due date:
% Done:

0%

TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

// strip everything non-ascii
$meaningfulPrefix = preg_replace('/[^A-Za-z0-9_-]/', '', trim($meaningfulPrefix));

This is how special characters are simply stripped out. The should be converted using t3lib_cs->specCharsToASCII()

I also had an issue with Images that were not showing up in FE, when they had Umlauts in the title. I could not perfectly reproduce and investigate this issue, however it is completely gone when I switched to t3lib_cs->specCharsToASCII()
(issue imported from #M15466)

15446_v2.diff View (2.52 KB) Administrator Admin, 2010-12-27 22:15


Related issues

Related to TYPO3 Core - Bug #25316: meaningfulTempFilePrefix generates bad file names in some cases Closed 2011-03-14

History

#1 Updated by Jeff Segars almost 9 years ago

Committed to trunk (4.5) in r9985 and 4.4 in r9986.

#2 Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF