diff options
Diffstat (limited to '3rdparty/Sabre/HTTP/BasicAuth.php')
-rwxr-xr-x[-rw-r--r--] | 3rdparty/Sabre/HTTP/BasicAuth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/Sabre/HTTP/BasicAuth.php b/3rdparty/Sabre/HTTP/BasicAuth.php index a747cc6a31b..f90ed24f5d8 100644..100755 --- a/3rdparty/Sabre/HTTP/BasicAuth.php +++ b/3rdparty/Sabre/HTTP/BasicAuth.php @@ -46,7 +46,7 @@ class Sabre_HTTP_BasicAuth extends Sabre_HTTP_AbstractAuth { if (strpos(strtolower($auth),'basic')!==0) return false; - return explode(':', base64_decode(substr($auth, 6))); + return explode(':', base64_decode(substr($auth, 6)),2); } |