提交 1bd4f0bd 编写于 作者: J jzavgren

8010505: HTTP DIGEST implementation incorrectly quotes header values, fails auth

Summary: The extraneous quotes were removed.
Reviewed-by: chegar
上级 9b65d35f
......@@ -364,17 +364,18 @@ class DigestAuthentication extends AuthenticationInfo {
+ ncfield
+ ", uri=\"" + uri
+ "\", response=\"" + response
+ "\", algorithm=\"" + algorithm;
+ "\", algorithm=" + algorithm;
if (opaque != null) {
value = value + "\", opaque=\"" + opaque;
value = value + ", opaque=\"" + opaque;
value = value + "\"";
}
if (cnonce != null) {
value = value + "\", cnonce=\"" + cnonce;
value = value + ", cnonce=\"" + cnonce;
value = value + "\"";
}
if (qop) {
value = value + "\", qop=\"auth";
value = value + ", qop=auth";
}
value = value + "\"";
return value;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册