From 1943f86ce6260b04e7f23b9e650c017ddb4ba0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BCrk?= <stefan@buerk.tech> Date: Tue, 5 Sep 2023 15:58:54 +0200 Subject: [PATCH] [BUGFIX] Allow file links in siteConfiguration/static-route MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During the migration to the specific TCA type `link` with #97159 the allowed link types for the field in the siteConfiguration->static-routes have been added incorrectly. This change re-adds the file link-type as allowed link type to that field. Resolves: #101837 Related: #97159 Releases: main, 12.4 Change-Id: Iee40a86fe115749482c2aa0faa2c887adb4d025b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80847 Reviewed-by: Stefan Bürk <stefan@buerk.tech> Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> --- .../backend/Configuration/SiteConfiguration/site_route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php b/typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php index 6675d19401b4..3307621228d5 100644 --- a/typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php +++ b/typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php @@ -61,7 +61,7 @@ Allow: /typo3/sysext/frontend/Resources/Public/* 'config' => [ 'type' => 'link', 'required' => true, - 'allowedTypes' => ['page', 'url', 'record'], + 'allowedTypes' => ['page', 'url', 'record', 'file'], ], ], ], -- GitLab