Bug #24481
closed
Missing favicon results in invalid html code
Added by Thomas Koetter over 13 years ago.
Updated almost 6 years ago.
Description
On line 498 of class.tslib_pagegen.php the MIME type of the favicon is determined:
$iconMimeType = ' type="' . finfo_file($finfo, PATH_site . $favIcon) . '"';
However, when the given file does not exist the result is "directory". This is not a valid value for the type attribute of the link element. Therefore, the function should at least check for an existing file or for a valid MIME type.
(issue imported from #M16923)
- Status changed from New to Needs Feedback
- Target version deleted (
0)
- TYPO3 Version set to 4.3
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.3)?
Is this Problem fixed by #60019 ?
Sascha Egerer wrote:
Is this Problem fixed by #60019 ?
It is not.
- Target version set to next-patchlevel
- TYPO3 Version changed from 4.3 to 6.2
- Status changed from Needs Feedback to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31282
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31282
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35157
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF