[Zope-Checkins] CVS: Zope/ZServer - WebDAVSrcHandler.py:1.2.80.2
Andreas Jung
andreas@digicool.com
Mon, 6 Aug 2001 14:45:19 -0400
Update of /cvs-repository/Zope/ZServer
In directory cvs.zope.org:/tmp/cvs-serv5730/ZServer
Modified Files:
Tag: Zope-2_4-branch
WebDAVSrcHandler.py
Log Message:
fixed compatiblility problem with Dreamweaver
=== Zope/ZServer/WebDAVSrcHandler.py 1.2.80.1 => 1.2.80.2 ===
# 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]