From c182151d531b8fc18bfd6b594aad6cf856e3f6ce Mon Sep 17 00:00:00 2001 From: Georg Ringer Date: Wed, 20 Sep 2017 20:19:39 +0200 Subject: [PATCH 1/1] [TASK] Increase size of domain name field 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 Tested-by: Patrik Karisch Tested-by: TYPO3com Reviewed-by: Alexander Schnitzler Tested-by: Alexander Schnitzler Reviewed-by: Susanne Moog Tested-by: Susanne Moog --- typo3/sysext/frontend/Configuration/TCA/sys_domain.php | 2 +- typo3/sysext/frontend/ext_tables.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/frontend/Configuration/TCA/sys_domain.php b/typo3/sysext/frontend/Configuration/TCA/sys_domain.php index 5de2d8963a5a..58782d47a295 100644 --- a/typo3/sysext/frontend/Configuration/TCA/sys_domain.php +++ b/typo3/sysext/frontend/Configuration/TCA/sys_domain.php @@ -24,7 +24,7 @@ return [ 'config' => [ 'type' => 'input', 'size' => 35, - 'max' => 80, + 'max' => 255, 'eval' => 'required,unique,lower,trim,domainname', 'softref' => 'substitute' ] diff --git a/typo3/sysext/frontend/ext_tables.sql b/typo3/sysext/frontend/ext_tables.sql index f2c72f740824..43e7e2beef3e 100644 --- a/typo3/sysext/frontend/ext_tables.sql +++ b/typo3/sysext/frontend/ext_tables.sql @@ -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, -- 2.20.1