[TYPO3-core] RFC #9511: Bug: getHtmlTemplate should use resolveBackPath
Steffen Gebert
steffen at steffen-gebert.de
Wed Oct 8 09:45:17 CEST 2008
Hi!
This is SVN patch request.
Type: bug
Branches: trunk, 4.2
BT reference: http://bugs.typo3.org/view.php?id=9511
Problem:
getHtmlTemplate() in typo3/template.php calls getURL in the following way:
t3lib_div::getURL($this->backPath . $filename)
For tt_news $this->backPath . $filename = "../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttneypo3conf/ext/tt_news/mod1/mod_ttnews_admin.html"
which can't be opened on some linux servers because of typo3/../
Solution:
resolveBackPath() removes "typo3/../" which works.
Regards
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9511-getHtmlTemplate-resolveBackPath.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081008/a99a6912/attachment-0001.bin
More information about the TYPO3-team-core
mailing list