[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures
From: |
Darshit Shah |
Subject: |
[Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures. |
Date: |
Sun, 14 Jul 2013 19:02:36 +0530 |
Hi,
In http.c:3739, we club 3 different error types in one.
1. The Server did not send a nonce / realm / uri attribute in the
WWW-Authenticate Header. This should exit as a Protocol Error, Status 7
2. Wget was not invoked with a Username / Password. Authorization Error,
Status 6.
3. We do not understand the qop / algorithm value sent by the server.
General Error, Status 1.
I think we should split these errors and exit Wget with the correct status
codes. It would be wrong to inform the end-user that there was a
username/password authentication error when in reality the issue was caused
by, say, the Server sending an incorrect header.
If there is consensus on fixing this, I'll try and hack a patch soon.
--
Thanking You,
Darshit Shah
- [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures.,
Darshit Shah <=
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Tim Rühsen, 2013/07/14
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Darshit Shah, 2013/07/14
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Daniel Stenberg, 2013/07/14
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Darshit Shah, 2013/07/14
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Darshit Shah, 2013/07/14
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Tim Rühsen, 2013/07/15
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Darshit Shah, 2013/07/16
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Tim Rühsen, 2013/07/16
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Darshit Shah, 2013/07/17
- Re: [Bug-wget] [Bug-Wget] Wrong Error Codes returned on Digest Auth Failures., Tim Rühsen, 2013/07/18