Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digest Auth issue due to _method not being set in PsychicRequest.cpp #199

Open
broddo opened this issue Nov 27, 2024 · 0 comments · May be fixed by #202
Open

Digest Auth issue due to _method not being set in PsychicRequest.cpp #199

broddo opened this issue Nov 27, 2024 · 0 comments · May be fixed by #202

Comments

@broddo
Copy link

broddo commented Nov 27, 2024

Hi,

I spotted a bug in PsychicRequest.cpp which causes problems with Digest Auth:

if(_method == HTTP_GET){

_method is set to HTTP_GET in the initializer list but is never set anywhere else. This will cause digest auth to fail for any other method apart from GET.

The quick fix is to replace _method with a call to method()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant