[Zope] base href: part duex

Jim Fulton jim@digicool.com
Tue, 07 Dec 1999 17:15:46 +0000


Kyle Burnett wrote:
> 
> we just discovered it was a netscape thing.
> 
> if we pass the url whatever.com/index_html it works fine.
> 
> it puts in the base href when we just leave the url at /.
> 
> has anyone encountered this and come up with a solution to deal with it on
> the backend?

It isn't a netscape thing, it's a Zope feature.

If you don't supply index_html, then Zope adds it.
Anytime Zope modifies the URL (there are other 
cases too), it also sets the base href so that 
relative are interpreted correctly.

Why is this a problem for you?

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (888) 344-4332              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.