Project

General

Profile

Actions

Bug #39123

closed

[FAL] isValidFilename() fails with broken PCRE

Added by Christian Kuhn over 11 years ago. Updated over 6 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 #1

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12924

Actions #3

Updated by Christian Kuhn over 11 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF