mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
fix: pass null for authData in sendHttpRequest for digest authentication to prevent infinite loop when realm and nonce are empty
This commit is contained in:
@@ -109,7 +109,7 @@ Future<HttpRequestModel> handleAuth(
|
|||||||
final httpResult = await sendHttpRequest(
|
final httpResult = await sendHttpRequest(
|
||||||
"digest-${Random.secure()}",
|
"digest-${Random.secure()}",
|
||||||
APIType.rest,
|
APIType.rest,
|
||||||
authData,
|
null,
|
||||||
httpRequestModel,
|
httpRequestModel,
|
||||||
);
|
);
|
||||||
final httpResponse = httpResult.$1;
|
final httpResponse = httpResult.$1;
|
||||||
|
|||||||
Reference in New Issue
Block a user