Actions
Bug #19643
closedarea hrefs end up wrong in staticpub files (class.t3lib_parsehtml.php bug)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-11-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Problem:
area hrefs in pages produced with staticpub (and a speaking URL extension) are not prefixed correctly. In fact, they are not prefixed at all and stay like they are rendered in relation to the base href of the page.
Reason:
class.t3lib_parsehtml.php::prefixResourcePath() does not handle hrefs in area tags, because they are not in the list of handled tags.
Solution:
For me the problem is fixed by adding "area" to the list of handled tags and execute the switch-case like for "link" and "a" tags. Diff is attached
(issue imported from #M9842)
Files
Actions