mfazliazran / skipfish

Automatically exported from code.google.com/p/skipfish
Apache License 2.0
0 stars 0 forks source link

v1.85b Basic Authentication Scheme broken (with Spring) #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When using basic authentication

-A username:pwd 

the HTTP header generated is incorrect; it is lowercase "basic".
Example:
Authorization: basic Y21hZG1pbjpwd2Q=

RFC 2617 may or may not allow "Basic" or "basic" (note the case)

(see http://www.rfc-editor.org/rfc/rfc2617.txt)

but with the Spring framework, the lower basic does *not* work, it must be 
"Basic".

As a workaround, use the following syntax:

-H Authorization="Basic Y21hZG1pbjpwd2Q="

Thank you
marioc@computer.org

Original issue reported on code.google.com by outlaw.w...@gmail.com on 31 Mar 2011 at 6:44

GoogleCodeExporter commented 8 years ago
Funny. Yeah, I can fix this. New version coming later today.

Original comment by lcam...@gmail.com on 1 Apr 2011 at 5:22