31 Jul
2001
31 Jul
'01
7:12 p.m.
On 31 Jul 2001 19:09:57 +0100, Steve Alexander wrote:
absolute_url(1) is supposed to give you the "physical path relative to a VirtualRoot".
However, the returned value doesn't start with a "/", so it is not really a useful relative path.
Is this a bug, or was it designed that way?
(I suspect the answer might be "yes" and "yes" from my point of view :) )
Reference: /lib/python/OFS/Traversable.py
But that *is* a relative path. Paths beginning with a "/" are "site-relative" paths. Arguably, absolute_url should be returning the site-relative path, though. Michael Bernstein.