After reading this paragraph for the third time I realized you have a
very good point here.
But
quote by=Evan Simpson
Relative in this context refers to the concept of a relative path
as used in rfc1808, not to a relationship with a Zope object. It is
meant for use in situations such as
Stefan H. Holek wrote at 2003-12-8 19:14 +0100:
...
So, what do we want relative to mean for absolute_url?
I spelled it out more precisely in a recent post (after
rereading RFC2693). In my view '/' + obj.absolute_url(1)
should implement the absolute path relative URL for obj
(as defined by
On Mon, Dec 08, 2003 at 07:14:28PM +0100, Stefan H. Holek wrote:
After reading this paragraph for the third time I realized you have a
very good point here.
But
quote by=Evan Simpson
Relative in this context refers to the concept of a relative path
as used in rfc1808, not to a
From: Yuppie [EMAIL PROTECTED]
1.) absolute_url(relative=1) behaves different
--
'relative' was changed from 'relative to site object' to 'relative to
server root'. This is an API change and breaks Products like CMF.
See
Yuppie!
No, no and 3 times no! The fix was done by Evan and is CORRECT.
absolute_url () does not (and should not!) know anything about CMF or
portals or whatever else!
It MUST however return correct results in all possible VH situations and
this is what the fix addresses.
Please forget about
If you need anything CMF specific use the portal_url tool. I do not
see why a basic infrastructure method like absolute_url() should know
anything about portals at all.
I have to admit I did not look deeply, but Stefan's notion that
absolute_url is a basic infrastructure method that should not
Please excuse my impatiance, but sometimes I just think it's obvious that
I'm right, and that people don't listen.
My experience of this is that I'm wrong in at least half of the cases, so
that is probably what has happened now too.
However, I took a look at the issue, and ended up with the
Stefan H. Holek wrote at 2003-12-3 15:25 +0100:
No, no and 3 times no! The fix was done by Evan and is CORRECT.
absolute_url () does not (and should not!) know anything about CMF or
portals or whatever else!
Right...
It MUST however return correct results in all possible VH situations