diff --git a/typo3/sysext/redirects/Configuration/TCA/sys_redirect.php b/typo3/sysext/redirects/Configuration/TCA/sys_redirect.php
index 578db56860af925c3857d6c854a11a43d57c4d13..5a9f108dc0e4be85491b74a11e3fc78d9c1a3c50 100644
--- a/typo3/sysext/redirects/Configuration/TCA/sys_redirect.php
+++ b/typo3/sysext/redirects/Configuration/TCA/sys_redirect.php
@@ -111,6 +111,7 @@ return [
                 'size' => 30,
                 'eval' => 'trim,required',
                 'placeholder' => 'LLL:EXT:redirects/Resources/Private/Language/locallang_module_redirect.xlf:source_path.placeholder',
+                'max' => 2048
             ],
         ],
         'force_https' => [
@@ -173,6 +174,7 @@ return [
                         ],
                     ],
                 ],
+                'max' => 2048
             ],
         ],
         'target_statuscode' => [
diff --git a/typo3/sysext/redirects/ext_tables.sql b/typo3/sysext/redirects/ext_tables.sql
index e5dc3fc08c58d132c231b5848bdcf74c859e9782..77c98b801346e3942db38dc10a9892df0ee6653d 100644
--- a/typo3/sysext/redirects/ext_tables.sql
+++ b/typo3/sysext/redirects/ext_tables.sql
@@ -3,13 +3,13 @@
 #
 CREATE TABLE sys_redirect (
 	source_host varchar(255) DEFAULT '' NOT NULL,
-	source_path varchar(255) DEFAULT '' NOT NULL,
+	source_path varchar(2048) DEFAULT '' NOT NULL,
 	is_regexp tinyint(1) unsigned DEFAULT '0' NOT NULL,
 
 	force_https tinyint(1) unsigned DEFAULT '0' NOT NULL,
 	respect_query_parameters tinyint(1) unsigned DEFAULT '0' NOT NULL,
 	keep_query_parameters tinyint(1) unsigned DEFAULT '0' NOT NULL,
-	target varchar(255) DEFAULT '' NOT NULL,
+	target varchar(2048) DEFAULT '' NOT NULL,
 	target_statuscode int(11) DEFAULT '307' NOT NULL,
 
 	hitcount int(11) DEFAULT '0' NOT NULL,