From 3bb1b48d437a4f6fdd2c8b4eccf17d55d2349e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Wed, 6 Jan 2021 15:13:14 +0100 Subject: [PATCH] Comment the check on the URI for Digest Auth as it is difficult to handle for clients when the API is setup in a subdirectory Bump RPM version --- flexiapi/app/Http/Middleware/AuthenticateDigestOrKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flexiapi/app/Http/Middleware/AuthenticateDigestOrKey.php b/flexiapi/app/Http/Middleware/AuthenticateDigestOrKey.php index 290a226..8799651 100644 --- a/flexiapi/app/Http/Middleware/AuthenticateDigestOrKey.php +++ b/flexiapi/app/Http/Middleware/AuthenticateDigestOrKey.php @@ -90,7 +90,7 @@ class AuthenticateDigestOrKey // Validation $validator = Validator::make($auth, [ 'opaque' => 'required|in:'.$this->getOpaque(), - 'uri' => 'in:/'.$request->path(), + //'uri' => 'in:/'.$request->path(), 'qop' => 'required|in:auth', 'realm' => 'required|in:'.$domain, 'nc' => 'required',