You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a server respond with a challenge of:
WWW-Authenticate: Digest realm="realmhere",qop="auth,auth-int",nonce="60b9e1bc89661",opaque="0e3a3074e5fdc57d09"
This causes the response to have ...,qop="auth, ... with the missing quote at the end and that makes the server choke of the response and reject it
The problem is in parse_challenge_param because the regex is just looking for commas to signify the sections of the challenge and this value has commas within the value.
I very quickly patched around it for my case by striping off a leading quote if there wasn't a trailing one but that might not be the right solution
Maybe doing a split with a regex of something like this ",(?=([^\"]"[^\"]")[^\"]$)" (note untested, just found on google)
The text was updated successfully, but these errors were encountered:
I have a server respond with a challenge of:
WWW-Authenticate: Digest realm="realmhere",qop="auth,auth-int",nonce="60b9e1bc89661",opaque="0e3a3074e5fdc57d09"
This causes the response to have ...,qop="auth, ... with the missing quote at the end and that makes the server choke of the response and reject it
The problem is in parse_challenge_param because the regex is just looking for commas to signify the sections of the challenge and this value has commas within the value.
I very quickly patched around it for my case by striping off a leading quote if there wasn't a trailing one but that might not be the right solution
Maybe doing a split with a regex of something like this ",(?=([^\"]"[^\"]")[^\"]$)" (note untested, just found on google)
The text was updated successfully, but these errors were encountered: