Typo in permissions check in webdav-6.x-1.0-rc7
msabramo - March 5, 2009 - 03:46
| Project: | WebDAV for Drupal |
| Version: | 6.x-1.0-rc7 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I found that webdav-6.x-1.0-rc7 did not work for me at all out of the box trying to use either cadaver or OS X Finder's WebDAV.
$ ls -l webdav-6.x-1.0-rc7.tar.gz
-rw-r--r-- 1 marca users 92210 Feb 3 09:31 webdav-6.x-1.0-rc7.tar.gz
$ md5 webdav-6.x-1.0-rc7.tar.gz
MD5 (webdav-6.x-1.0-rc7.tar.gz) = 59041e14915ce01fb68f844a70757a55I tracked it down to a typo in the name of the constant WEBDAV_PERMS_WEBDAV_ACCESS in webdav.module:184, for which I'm attaching a patch.
| Attachment | Size |
|---|---|
| fix_permissions_check.patch | 897 bytes |

#1
This patch works. If you do not apply this patch you cannot use the module for users != No. 1 => critical
#2
Thank you. Patch applied in HEAD.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.