diff --git a/Classes/Backend/PageLayoutHeader.php b/Classes/Backend/PageLayoutHeader.php index 0566270..99475a6 100644 --- a/Classes/Backend/PageLayoutHeader.php +++ b/Classes/Backend/PageLayoutHeader.php @@ -118,7 +118,11 @@ public function resolveExtFilePathToWebUrl(string $filePath): string { $shortcutIconPublicUrl = ''; if(!empty($filePath)) { - if (strpos($filePath, 'EXT:') === 0) { + if(filter_var($filePath, FILTER_VALIDATE_URL)) { + $shortcutIconPublicUrl = trim($filePath); + } + + if(str_starts_with($filePath, 'EXT:')) { $absPathName = GeneralUtility::getFileAbsFileName($filePath); $shortcutIconPublicUrl = str_replace(\TYPO3\CMS\Core\Core\Environment::getPublicPath().'/', '', $absPathName); } diff --git a/Resources/Private/Templates/Backend/Header.html b/Resources/Private/Templates/Backend/Header.html index 193de36..7fd2dc3 100644 --- a/Resources/Private/Templates/Backend/Header.html +++ b/Resources/Private/Templates/Backend/Header.html @@ -14,7 +14,7 @@ - Favicon is missing! + Favicon is missing! Favicon is missing! diff --git a/composer.json b/composer.json index cd8c5d2..9b30d7b 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "url": "https://www.paypal.com/paypalme/hauerheinrich" } ], - "version": "0.8.5", + "version": "0.8.6", "license": ["GPL-2.0-or-later"], "keywords": ["TYPO3 CMS", "SEO", "Extension"], "replace": { diff --git a/ext_emconf.php b/ext_emconf.php index 3027e32..3d1ff39 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -21,7 +21,7 @@ 'uploadfolder' => '0', 'createDirs' => '', 'clearCacheOnLoad' => 0, - 'version' => '0.8.5', + 'version' => '0.8.6', 'constraints' => [ 'depends' => [ 'typo3' => '12.4.0-12.4.99',