[Zope-dev] Re: Zope 2.7.0 b3 regressions

Toby Dickenson tdickenson at geminidataloggers.com
Tue Dec 9 03:31:07 EST 2003


On Monday 08 December 2003 21:21, Paul Winkler wrote:
> On Mon, Dec 08, 2003 at 08:24:04PM +0100, Dieter Maurer wrote:
> > Maybe, my contribution has not been read. Thus, I try again:
> >
> >        "/" + "absolute_url(1)" should implement the notion
> >        of "absolute-path URL reference" (see RFC2396 section 5).
> >
> >        This means, that the receiving browser should be able
> >        to retrieve the object correctly given this URL reference.
>
> Yup.
> But while we're on the subject...
> Why doesn't absolute_url(1) include a leading slash?
> I don't think I've ever seen a use of absolute_url(1)
> that didn't have to add the slash. What was the rationale
> originally?

Because

<dtml-var BASEPATH1>/<dtml-var "absolute_url(1)">

looks nicer than without the slash

?

-- 
Toby Dickenson




More information about the Zope-Dev mailing list