We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In digest.coffee, in the parseAuthorization function, the line
[name, value] = token.split "=", 2
doesn't do the right thing when the value itself might contain the character =. For example, if the request URI is
=
/javascript/hates?me=true
then the authorization header will contain
..., uri="/javascript/hates?me=true", ...
and the result will be to set name to uri and value to "/javascript/hates?me, truncating the URI.
name
uri
value
"/javascript/hates?me
The text was updated successfully, but these errors were encountered:
Issue #27 fixed, correct way to split tokens.
a799f40
Thanks for reporting, fixed and published as 2.0.5 version. Gevorg
Sorry, something went wrong.
gevorg
No branches or pull requests
In digest.coffee, in the parseAuthorization function, the line
doesn't do the right thing when the value itself might contain the character
=
. For example, if the request URI isthen the authorization header will contain
and the result will be to set
name
touri
andvalue
to"/javascript/hates?me
, truncating the URI.The text was updated successfully, but these errors were encountered: