#23263page.shortcutIcon does not create favicon on root Level
Description
If I set
page.shortcutIcon = favicon.ico
I would expect to receive a link to the favicon on root level like this one:
<link rel="shortcut icon" href="http://example.com/favicon.ico">
But there is no output.
This is due to the fact that the function getFileName from class.t3lib_tstemplate.php is beeing used.
Even though all modern Browsers can handle favIcons under a different path but the roort path there are some systems witch will first look at example.com/favicon.ico and only if they don’t find it there under the path specified in the link tag.
An easy solution to this would be to ecpecially look for the string favicon.ico in class.tslib_pagegen.php line 491. A better solution would be to change getFileName from class.t3lib_tstemplate.php in a way that it can handle files on the root directory.
(issue imported from #M15226)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.