Actions
Bug #52059
closedPreg_match in redirectMode "refererDomains"
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2013-09-17
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
My TYPO3 Log gives me the following warning:
Core: Error handler (FE): PHP Warning: preg_match(): Unknown modifier '/' in /var/www/typo3_src-4.7.15/typo3/sysext/felogin/pi1/class.tx_felogin_pi1.php line 646
This line contains the following expression:
if (preg_match('/^http://([[:alnum:]._-]+)//', $url, $match)) {
I think this should be changed to:
if (preg_match('/^http:\/\/([[:alnum:]._-]+)\//', $url, $match)) {
Greetings Tim Wendisch
Actions