Project

General

Profile

Actions

Bug #39123

closed

[FAL] isValidFilename() fails with broken PCRE

Added by Christian Kuhn over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2012-07-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

Description

Some php versions like debian squeeze 5.3.3 do not have proper unicode
support for PCRE enabled. In effect, character classes like [:alnum:]
do not contain unicode characters. Therefore, test
filenamesAreCorrectlyValidated with data set "filename with german
umlauts" fails on those systems.

The patch changes the according regex in t3lib_file_Driver_AbstractDriver
to other, fully supported character classes.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #36995: Test failure in t3lib_file_Driver_AbstractDriverTest.filenamesAreCorrectlyValidatedClosed2012-05-09

Actions
Related to TYPO3 Core - Bug #41074: ext:form unit test and unicode fixClosed2012-09-19

Actions
Actions

Also available in: Atom PDF