[Zope] [Note] "absolute_url" strips any context

Dieter Maurer dieter@handshake.de
Sun, 24 Jun 2001 11:04:52 +0200


I just recognized (and was astonished) that
"absolute_url" strips any context from the URL.

Thus, e.g., if you have the following structure:
/
  F/
     D -> absolute_url
  en/
  de/
  fr/

then "GET('/en/F/D')" will return "/F/D".
This is because, "absolute_url" is based on "getPhysicalPath".


Probably it is this behaviour that should be indicated
by the "absolute" in "absolute_url" (I never understood
it so far). Nevertheless, I suggest to make this behaviour
more explicit in the documentation.


Dieter