[Zope] How to check with ZOPE/Python if file "x.html" exists in path container.REQUEST.PARENTS[0].getPhysicalPath()?

Dieter Maurer dieter@handshake.de
Wed, 4 Dec 2002 23:04:09 +0100


Thomas Duebendorfer writes:
 > I simply want to check in a ZOPE/Python script, whether the file "x.html" 
 > exists at the exact path defined by container.REQUEST.PARENTS[0].getPhysicalPath().
 > And I want to make sure that ZOPE does NO TRAVERSAL, i.e. does not 
 > look in folders above the given path in case the file was not found.
Please search the mailing list archives for "aq_base".


Dieter