[Zope] Hmm weird!

Phil Harris phil.harris@zope.co.uk
Mon, 19 Mar 2001 14:03:47 -0000


Tino,

I'ts OK it was an abberation on my part, too much to do, too many people to
see.

Thanks

----- Original Message -----
From: "Tino Wildenhain" <tino@wildenhain.de>
To: "Phil Harris" <phil.harris@zope.co.uk>
Cc: <zope@zope.org>
Sent: Sunday, March 18, 2001 3:26 PM
Subject: Re: [Zope] Hmm weird!


> Hi Phil,
>
> try <a href="<dtml-var absulute_url>">Click here to refresh</a>
>
> :-)
>
> Regards
> Tino
>
> PS: Browsers do not know which object is a folder and which is not.
> If you ommit the / the browser thinks of the last / as beeing the
> folder.
> Zope does not care for traling / to find the right object.
>
> Phil Harris wrote:
> >
> > Sorry for the obtuse subject but, let's see if I can explain, and let's
see
> > if other people are seeing this:
> >
> > I've got this DTML page:
> >
> > <html><body>
> > <h2><dtml-var title_or_id></h2>
> > <a href="index_html">click here to refresh</a>
> > </body>
> > </html>
> >
> > OK looks fine, but the interesting bit is the anchor at the bottom.
> >
> > Depending on the URL typed into the browser address bar I get different
> > results (but I think they should be the same results).
> >
> > If I put http://localhost:12380/test I get this result:
> >
> > <html><body>
> > <h2>index_html</h2>
> > <a href="index_html">click here to refresh</a>
> > </body>
> > </html>
> >
> > Notice the address in the anchor it looks ok, but
> >
> > If I put http://localhost:12380/test/ into the address bar I get:
> >
> > <html><body>
> > <h2>index_html</h2>
> > <a href="index_html">click here to refresh</a>
> > </body>
> > </html>
> >
> > Which I have to admit looks identical, *BUT* the anchor takes you to
> > different addresses.
> >
> > The first one takes you to the index_html in the root, the second one
takes
> > you to the index_html in the test folder as it should.
> >
> > If anyone can understand what I'm going on about and if then any of you
have
> > any ideas, *please* let me know.
> >
> > I'm not sure if this is a Zope problem (I don't really see how it could
be
> > since the address is the same), or if it's a browser problem.  However
I'm
> > dead confused here.
> >
> > I can't publish the real address for you top verify this, your going to
have
> > to believe me or test it yourself.
> >
> > tia
> >
> > Phil
> > phil.harris@zweb.co.uk
> >
> > _______________________________________________
> > 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 )