[ZCM] [ZC] 2353/ 1 Request "meaningful error message for WebDAV upload of forbidden content"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Mon, 03 Sep 2007 05:42:59 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2353 Update (Request) "meaningful error message for WebDAV upload of forbidden content" Status Pending, Zope/bug medium To followup, visit: http://www.zope.org/Collectors/Zope/2353 ============================================================== = Request - Entry #1 by ploneforge on Sep 3, 2007 5:42 am Uploaded: "NullResource.py" - http://www.zope.org/Collectors/Zope/2353/NullResource.py/view When a user uses WebDAV, they login first and get Unauthorized errors if they fail. If they've successfully logged in, and upload a bunch of files, they may succeed on the .html files, and if there is a forbidden content type in the batch, such as .js, they also get an Unauthorized error which is confusing. The patch changes Zope-2.9.8-final/lib/python/webdav/NullResource.py to raise a more detailed Forbidden error in this kind of case. ==============================================================