使用equalsIgnoreCase代替equals,忽略大小写差异

This commit is contained in:
648540858
2022-09-02 10:51:55 +08:00
parent b46e5efad2
commit 7db2bf7b51
15 changed files with 70 additions and 92 deletions

View File

@@ -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;
}