Re: [Zope-dev] Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-09 Thread Dieter Maurer
Stefan H. Holek wrote at 2003-12-9 15:47 +0100: > ... >Given an object is accessed by >/VirtualHostBase/http/example.com:80/VirtualHostRoot/_vh_foo/folder/doc > ... >2) doc.absolute_url(relative=1) > > Returns the path of doc, relative to the virtual root. > e.g. folder/doc > ... >Comments: > >ad

Re: [Zope-dev] Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-09 Thread Leonardo Rochael Almeida
I'd like to suggest that any new methods created to handle paths or urls do not require parameters for different behaviours (which should be implemented as different methods), so that they can be more easily used from plain ZPT path expressions. Cheers, Leo ___

[Zope-dev] Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-09 Thread Stefan H. Holek
After causing all this noise, let me summarize what I now understand is the intended behavior of Zope's URL methods. Given an object is accessed by /VirtualHostBase/http/example.com:80/VirtualHostRoot/_vh_foo/folder/doc 1) doc.absolute_url() Returns the full URL of doc including protocol and ho