使用equalsIgnoreCase代替equals,忽略大小写差异
This commit is contained in:
@@ -218,7 +218,7 @@ public class DigestServerAuthenticationHelper {
|
||||
logger.debug("qop: " + qop);
|
||||
String KD = HA1 + ":" + nonce;
|
||||
|
||||
if (qop != null && qop.equals("auth") ) {
|
||||
if (qop != null && qop.equalsIgnoreCase("auth") ) {
|
||||
if (nc != -1) {
|
||||
KD += ":" + ncStr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user