[Tickets #10272] Re: No HTTP_Auth when accessing users *.ics file

bugs at horde.org bugs at horde.org
Fri Jun 24 17:27:31 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10272
------------------------------------------------------------------------------
  Ticket             | 10272
  Updated By         | mail at xeroc.org
  Summary            | No HTTP_Auth when accessing users *.ics file
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Duplicate
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


mail at xeroc.org (2011-06-24 17:27) wrote:

diff --git a/framework/Rpc/lib/Horde/Rpc/Webdav.php  
b/framework/Rpc/lib/Horde/Rpc/Webdav.php
index 9071c3e..11a2365 100644
--- a/framework/Rpc/lib/Horde/Rpc/Webdav.php
+++ b/framework/Rpc/lib/Horde/Rpc/Webdav.php
@@ -2420,6 +2420,10 @@ class Horde_Rpc_Webdav extends Horde_Rpc
              ? $this->_SERVER["PHP_AUTH_PW"]
              : null;

+        if ($auth_user == null || $auth_pw == null) {
+            return false;
+        }
+
          if (method_exists($this, "checkAuth")) {
              // PEAR style method name
              return $this->checkAuth($auth_type, $auth_user, $auth_pw);







More information about the bugs mailing list