Project

General

Profile

Actions

Bug #55475

closed

Error when saving Domain system record

Added by Jesper Mathiasen almost 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-01-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

When saving a domain system record an error occurs on line 2339 of typo3/sysext/core/Classes/DataHandling/DataHandler.php

case 'domainname':
  if (!preg_match('/^[a-z0-9.\\-]*$/i', $value)) {
    $value = GeneralUtility::idnaEncode($value);
  }
  break;
$value = GeneralUtility::idnaEncode($value);
should be
\TYPO3\CMS\Core\Utility\GeneralUtility::idnaEncode($value);

This bug was introduced in commit using hash

c99a07a9442ea1ddbe0ce95881251eb927c209ac


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #53862: isValidUrl idna converts whole URI instead of domain onlyClosed2013-11-22

Actions
Actions

Also available in: Atom PDF