[Zope] getPhysicalPath
Andy McKay
andy@agmweb.ca
Thu, 5 Sep 2002 15:11:55 -0700
Because that doesnt give you the same thing, this gives you the domain
followed by the path to the object as affected by access rules.
getPhysicalPath gives you the path to object, unaffected by access rule with
no domain.
Or it could be that the person meant something else....
--
Andy McKay
Agmweb Consulting
http://www.agmweb.ca
----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
Cc: "gari" <gari@eibar.org>; <zope@zope.org>
Sent: Thursday, September 05, 2002 2:46 AM
Subject: [Zope] getPhysicalPath
> Collector: Zope Bugs, Features, and Patches ... wrote:
> > If it helps, our "path" PyScript just does:
> >
> > return context.absolute_url().split('/')[2:]
>
> Blech!
>
> What's wrong with getPhysicalPath?!
>
> Chris
>
>
> _______________________________________________
> 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 )
>