[Zope] REQUEST.resolve_url

Matt matt@automagic.org
Sat, 16 Nov 2002 11:45:13 +1300


I have found remarks that this is depreciated
http://www.zopelabs.com/cookbook/992809915

Is there a replacement, because restrictedTraverse is not going to help when
you are using virtual hosting and someone gives you a virtual hosted URL.
E.g.

http://IPADDRESS/one/two/three/one/two

http://virtualdomain/one/two

virtualdomain maps to /one/two/three/

using restrictedTraverse on '/one/two'  when given the url with the
virtualdomain would not give you the correct container.

regards
Matt