[Zope] url growth

Charlie Reiman creiman@kefta.com
Mon, 23 Sep 2002 13:50:06 -0700


> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
> Dennis Allison
> Sent: Monday, September 23, 2002 1:36 PM
> To: zope@zope.org
> Subject: [Zope] url growth
>
>
> Zope internally constructs URLs which can get very long and very
> redundant.  I have one example in the logs now --
>
> 	/A/B/C/C/C/C/C/C/C/D/
>
> where the C's are completely redundant.   How does this happen and
> what, if anything, can be done to minimize the problem?  (I know this
> has been discussed on the list before, but a quick google didn't turn
> up anything...)

You have a relative link that essentially returns itself. Some robot is
chasing it down. Try not to use relative links. It is much better to do the
zope thing: get the object, then ask it to spit out its absolute url:

<dtml-var expr="mypage.absolute_url()">