[TASK] Increase size of domain name field 86/54186/2
authorGeorg Ringer <georg.ringer@gmail.com>
Wed, 20 Sep 2017 18:19:39 +0000 (20:19 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Wed, 20 Sep 2017 18:54:46 +0000 (20:54 +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/54186
Reviewed-by: Patrik Karisch <p.karisch@pixelart.at>
Tested-by: Patrik Karisch <p.karisch@pixelart.at>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <review.typo3.org@alexanderschnitzler.de>
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 f2c72f7..43e7e2b 100644 (file)
@@ -159,7 +159,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,