[BUGFIX] t3lib_div::validPathStr() fails on certain file names
authorDmitry Dulepov <dmitry@typo3.org>
Fri, 2 Dec 2011 15:22:56 +0000 (17:22 +0200)
committerDmitry Dulepov <dmitry@typo3.org>
Fri, 3 Feb 2012 16:03:41 +0000 (17:03 +0100)
commit74c0a47df217bff211973e3c472bcb552e184faa
tree82b24ce64465916c018fe85aa4bacc5b456038f2
parent8db8b532152a0b523c0ef826b801574a3b15194d
[BUGFIX] t3lib_div::validPathStr() fails on certain file names

Function t3lib_div::validPathStr() fails on file names with Unicode
characters. Adding 'u' modifier to the regular expression solves
the problem.

Change-Id: I7f8fa432bdc864dfc242f8d2675464aafcdbb05b
Resolves: #32046
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7797
Reviewed-by: Steffen Ritter
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
t3lib/class.t3lib_div.php
tests/t3lib/class.t3lib_divTest.php