[BUGFIX] Only write out one shortcut tag 62/36762/2
authorFrederic Gaus <gaus@flagbit.de>
Mon, 9 Feb 2015 09:57:35 +0000 (10:57 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 12 Feb 2015 02:56:37 +0000 (03:56 +0100)
Only write out one shortcut tag with <link rel="shortcut icon" ..>. This is fine
for all standards-compliant browsers and for IE. So not need to write out
two link tags.

Change-Id: I396fe5145237df9c88cd57965cd144faf769e017
Resolves: #24479
Releases: master
Reviewed-on: http://review.typo3.org/36762
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Page/PageRenderer.php

index be006c7..dc372cc 100644 (file)
@@ -226,8 +226,7 @@ class PageRenderer implements \TYPO3\CMS\Core\SingletonInterface {
        /**
         * @var string
         */
-       protected $shortcutTag = '<link rel="shortcut icon" href="%1$s"%2$s />
-<link rel="icon" href="%1$s"%2$s />';
+       protected $shortcutTag = '<link rel="shortcut icon" href="%1$s"%2$s />';
 
        // Static inline code blocks
        /**