Bug #19643
closedarea hrefs end up wrong in staticpub files (class.t3lib_parsehtml.php bug)
0%
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
Updated by Dieter Rothacker almost 16 years ago
Why is this not included in the current versions? My diff fixes the problem and has no side effects.
Updated by Chris topher almost 16 years ago
To get your change included, please send it to the core-list:
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core
While doing so, please watch the mailing-rules for that list:
http://typo3.org/teams/core/core-mailinglist-rules/
There your patch will be discussed!
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Is Regression set to No
No feedback for over 90 days.