Hi Marcus, yes, you may run in trouble, because zope lets you access each object with and without traling slash. If you have a policy to always link to objects with a traling slash, there should be no problem. If not, complications are to be suspected. The only secure way to do it would be turning each HTML-anchor tag into an object which renders itself depending on the context. Regards Tino Wildenhain --On Samstag, 21. April 2001 16:10 +0200 Marcus Schopen <marcus.schopen@uni-bielefeld.de> wrote:
Hi there,
to give users the possibility to use relative URLs in Zope products like HTMLDocument, I set the BASE URL in standard_html_header to <base url="http://www.server.uni-bielefeld.de/">. Now I can use relative links.
Before doing this, it was not possible to link from a subfolder to a document in the parent folder (e.g. test.html) with ../test.html. The reason for this was the 'base url' generated by Zope with a slash after each file name: <base href="http://www.server.uni-bielefeld.de/test.html/"> ^^^ Do I run in trubble with the solution?
Marcus
--
_____________________________________
(0> Marcus Schopen //\ Bielefeld, Germany V_/_ _____________________________________
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )