[CalendarServer-changes] [3746] CalendarServer/trunk/twistedcaldav/dropbox.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 25 10:12:30 PST 2009
Revision: 3746
http://trac.macosforge.org/projects/calendarserver/changeset/3746
Author: wsanchez at apple.com
Date: 2009-02-25 10:12:30 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
Disallow PUT on Drop Box home
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/dropbox.py
Modified: CalendarServer/trunk/twistedcaldav/dropbox.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/dropbox.py 2009-02-25 18:08:13 UTC (rev 3745)
+++ CalendarServer/trunk/twistedcaldav/dropbox.py 2009-02-25 18:12:30 UTC (rev 3746)
@@ -44,6 +44,9 @@
def isCollection(self):
return True
+ def http_PUT(self, request):
+ return responsecode.FORBIDDEN
+
class DropBoxCollectionResource (DAVResource):
"""
Drop box resource.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090225/3f3861a8/attachment-0001.html>
More information about the calendarserver-changes
mailing list