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
This commit is contained in:
Timothée Jaussoin 2021-01-06 15:13:14 +01:00
parent d0e7d10014
commit 3bb1b48d43

View file

@ -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',