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
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) = 59041e14915ce01fb68f844a70757a55

I 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.

AttachmentSize
fix_permissions_check.patch897 bytes

#1

killes@www.drop.org - May 17, 2009 - 23:15
Priority:normal» critical
Status:active» reviewed & tested by the community

This patch works. If you do not apply this patch you cannot use the module for users != No. 1 => critical

#2

Yoran - May 18, 2009 - 22:26
Status:reviewed & tested by the community» fixed

Thank you. Patch applied in HEAD.

#3

System Message - June 1, 2009 - 22:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.