[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:02 +0000 (17:03 +0100)
commit1a885b5e2ace46c6a3f585752ac2540798efa0de
tree19051a9192c80f58655a087880a4f3ab586abc98
parentef1dd9a72c447e8be384e1e1b963866c04345bbd
[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: I99ebe784145eb3f2265eb7beb7dd58ac851c29ff
Resolves: #32046
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/7796
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
t3lib/class.t3lib_div.php
tests/t3lib/t3lib_divTest.php