[TYPO3-core] RFC #9511: Bug: getHtmlTemplate should use resolveBackPath

Martin Kutschker masi-no at spam-typo3.org
Wed Oct 8 10:40:24 CEST 2008


Steffen Gebert schrieb:
> Martin Kutschker wrote:
> 
>>> "../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttneypo3conf/ext/tt_news/mod1/mod_ttnews_admin.html"
> I'm sorry, I made a mistake in my first post and copy&pasted it everywhere. Generated path is:
> .../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html
> 
>>> which can't be opened on some linux servers because of typo3/../
>> This has nothing todo with Linux but (firewall) restrictions that won't
>> allow ../ in a URL.
> 
> That's wrong. I can't open this path in a shell! 
> Bash seems to get it managed, because Tab-autocompletion works, but programs (`cat` etc) can't read from that path:
> 
> www2:~/typo3conf/ext/tt_news/mod1# ls ../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html
> ls: ../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html: Datei oder Verzeichnis nicht gefunden

I guess this happens because you have a link from your homedirectory
(mind the ~):

www2:~/typo3conf

Masi


More information about the TYPO3-team-core mailing list