[TASK] Increase size of domain name field 89/54189/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 20 Sep 2017 18:19:39 +0000 (20:19 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 21 Sep 2017 05:47:32 +0000 (07:47 +0200)
Allow 255 chars for a domain to be in sync with RFC 1035.

Resolves: #82515
Releases: master, 8.7, 7.6
Change-Id: I63916cb115b00e50c62c1926cf890e29bf89de77
Reviewed-on: https://review.typo3.org/54189
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Configuration/TCA/sys_domain.php
typo3/sysext/frontend/ext_tables.sql

index 5de2d89..58782d4 100644 (file)
@@ -24,7 +24,7 @@ return [
             'config' => [
                 'type' => 'input',
                 'size' => 35,
-                'max' => 80,
+                'max' => 255,
                 'eval' => 'required,unique,lower,trim,domainname',
                 'softref' => 'substitute'
             ]
index 36cfa88..bd70bf1 100644 (file)
@@ -160,7 +160,7 @@ CREATE TABLE sys_domain (
        crdate int(11) unsigned DEFAULT '0' NOT NULL,
        cruser_id int(11) unsigned DEFAULT '0' NOT NULL,
        hidden tinyint(4) unsigned DEFAULT '0' NOT NULL,
-       domainName varchar(80) DEFAULT '' NOT NULL,
+       domainName varchar(255) DEFAULT '' NOT NULL,
        redirectTo varchar(255) DEFAULT '' NOT NULL,
        redirectHttpStatusCode int(4) unsigned DEFAULT '301' NOT NULL,
        sorting int(10) unsigned DEFAULT '0' NOT NULL,