Issue Bug Closed

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

Dieter Rothacker 11/25/08, 16:50 updated 09/09/13, 10:21

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.