[Zope] Growing URL's

Sam Gendler sgendler@impossible.com
Tue, 18 Jan 2000 10:33:02 -0800


"Daniel G. Rusch" wrote:

> Hey all,
>
> Our site is experiencing a peculiar side effect. As a person navigates
> the site, the URL in their location box keeps growing, it contains a
> "history" of where they have been.
>
> Any ideas on how to fix this?
>
> DR
>
> _______________________________________________
> 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 )

Use absolute URLS (accessed via the absolute_url method) or else make sure that
your relative urls have the correct number of ../'s.  Since acquisition will let
you access any sibling folder as a subfolder, it is possible to get deeper and
deeper into a 'heirarchy' when you are really just accessing the same folder
every time.

--sam