[Zope] How to find out the full URL
Phillip Hutchings
sitharus at gmail.com
Wed May 11 17:23:28 EDT 2005
> > Ideally, I'd like to get back the whole URL as entered in the browser as
> > a string. From the REQUEST I have to put together URL and QUERY_STRING,
> > and the section (#xxx) part of the url can not be found in REQUEST.
>
> Unfortunately the CGI vars don't make provision for the anchor component
> or the whole unaltered URL. Don't even know it that's possibly without
> modifying ZPublisher.
Just to add to this, it is not possible to get the #anchor section of
the URL. Web browsers strip it off before sending the request to the
web server, as it's a client side behaviour. I have confirmed this
with IE6 and FireFox 1.0.3.
--
Phillip Hutchings
http://www.sitharus.com/
sitharus at gmail.com / sitharus at sitharus.com
More information about the Zope
mailing list