[Zope-dev] PATH_TRANSLATED delimted with backslash ?

Steve Alexander steve@cat-box.net
Sat, 09 Sep 2000 21:57:12 +0100


I just tried out on Windows 98 a Zope application that was developed on
Linux.

Everything worked fine, except that REQUEST.PATH_TRANSLATED changed to
be delimited by backslashes on Windows 98, whereas it is delimited by
slashes on Linux.

This caught me out, as I'd been using it raw in an external method:

  obj = self.restrictedTraverse(REQUEST.PATH_TRANSLATED)

This stopped working when I tried the software on Windows.

Bug or feature?

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net