Issue Bug Closed

#39123[FAL] isValidFilename() fails with broken PCRE

Christian Kuhn 07/20/12, 14:28 updated 10/23/17, 22:12

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.

Reviews 1