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

Steffen Gebert steffen at steffen-gebert.de
Wed Oct 8 10:37:23 CEST 2008


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

www2:~/typo3conf/ext/tt_news/mod1# ls ../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttnews_ 
-> Press Tab ->
www2:~/dmm-dev/typo3conf/ext/tt_news/mod1# ls ../../../../typo3/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html

So it doesn't work as root! IMHO this can't be anything else than a problem with the typo3-symlink - e.g. this works:
www2:~/typo3conf/ext/tt_news/mod1# ls ../../../../typo3temp/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html
../../../../typo3temp/../typo3conf/ext/tt_news/mod1/mod_ttnews_admin.html
(replaced typo3/../ with typo3temp/../).

So root of the problem must be symlink typo3/ -> typo3_src/typo3/

Steffen


More information about the TYPO3-team-core mailing list