[Zope-Checkins] CVS: Packages/ZServer - WebDAVSrcHandler.py:1.4
Andreas Jung
andreas@digicool.com
Mon, 6 Aug 2001 14:46:31 -0400
Update of /cvs-repository/Packages/ZServer
In directory cvs.zope.org:/tmp/cvs-serv5831/ZServer
Modified Files:
WebDAVSrcHandler.py
Log Message:
Fixed incomp. with DreamWeaver
=== Packages/ZServer/WebDAVSrcHandler.py 1.3 => 1.4 ===
# and PATH_TRANSLATED
- if string.find(env["HTTP_USER_AGENT"],"Microsoft Data Access Internet Publishing Provider")>-1:
+ if string.find(env.get("HTTP_USER_AGENT",""),"Microsoft Data Access Internet Publishing Provider")>-1:
if env["PATH_INFO"][-1]=='.':
env["PATH_INFO"] = env["PATH_INFO"][:-1]