Project

General

Profile

Actions

Bug #19643

closed

area hrefs end up wrong in staticpub files (class.t3lib_parsehtml.php bug)

Added by Dieter Rothacker almost 16 years ago. Updated about 11 years ago.

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

class.t3lib_parsehtml.php.diff (766 Bytes) class.t3lib_parsehtml.php.diff Administrator Admin, 2008-11-25 16:50
Actions

Also available in: Atom PDF