summaryrefslogtreecommitdiffstats
path: root/php-sabre-http5-php74.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-sabre-http5-php74.patch')
-rw-r--r--php-sabre-http5-php74.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/php-sabre-http5-php74.patch b/php-sabre-http5-php74.patch
deleted file mode 100644
index 5e41957..0000000
--- a/php-sabre-http5-php74.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -up ./lib/Auth/Digest.php.up ./lib/Auth/Digest.php
---- ./lib/Auth/Digest.php.up 2019-08-20 14:37:51.705235293 +0200
-+++ ./lib/Auth/Digest.php 2019-08-20 14:38:29.371438395 +0200
-@@ -118,7 +118,7 @@ class Digest extends AbstractAuth {
- */
- function getUsername() {
-
-- return $this->digestParts['username'];
-+ return $this->digestParts['username'] ?? null;
-
- }
-
-@@ -127,6 +127,10 @@ class Digest extends AbstractAuth {
- */
- protected function validate() : bool {
-
-+ if (!is_array($this->digestParts)) {
-+ return false;
-+ }
-+
- $A2 = $this->request->getMethod() . ':' . $this->digestParts['uri'];
-
- if ($this->digestParts['qop'] == 'auth-int') {