[Pkg-owncloud-commits] [owncloud] 283/394: interpret http 403 and http 401 as not authorized
    David Prévot 
    taffit at alioth.debian.org
       
    Fri Nov  8 23:12:28 UTC 2013
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit ffc3f0702b67bec8c0c4f1722ce5e9605a43d0c9
Author: Frank Karlitschek <frank at owncloud.org>
Date:   Tue Nov 20 13:44:49 2012 +0100
    interpret http 403 and http 401 as not authorized
---
 apps/user_webdavauth/user_webdavauth.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/user_webdavauth/user_webdavauth.php b/apps/user_webdavauth/user_webdavauth.php
index 0b0be7c..839196c 100755
--- a/apps/user_webdavauth/user_webdavauth.php
+++ b/apps/user_webdavauth/user_webdavauth.php
@@ -56,7 +56,7 @@ class OC_USER_WEBDAVAUTH extends OC_User_Backend {
 		}
 		$returncode= substr($headers[0], 9, 3);
 
-		if($returncode=='401') {
+		if(($returncode=='401') or ($returncode=='403')) {
 			return(false);
 		}else{
 			return($uid);
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
    
    
More information about the Pkg-owncloud-commits
mailing list