[BUGFIX] Regression in DataHandler 73/27173/3
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 30 Jan 2014 22:09:54 +0000 (23:09 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 30 Jan 2014 22:46:40 +0000 (23:46 +0100)
The fix for issue #53862 calls GeneralUtility::idnaEncode
without fully qualified class namespace.

Follow-up to: c99a07a9

Resolves: #55475
Releases: 6.1, 6.0
Change-Id: I8ba161ee73e7456da53d2182b4a22d87dad9d53c
Reviewed-on: https://review.typo3.org/27173
Reviewed-by: Steffen Müller
Tested-by: Steffen Müller
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/DataHandling/DataHandler.php

index 7c8c10f..7e3a4e6 100644 (file)
@@ -2336,7 +2336,7 @@ class DataHandler {
                                break;
                        case 'domainname':
                                if (!preg_match('/^[a-z0-9.\\-]*$/i', $value)) {
-                                       $value = GeneralUtility::idnaEncode($value);
+                                       $value = \TYPO3\CMS\Core\Utility\GeneralUtility::idnaEncode($value);
                                }
                                break;
                        default: