Skip to content

Commit 690cf2c

Browse files
authored
Ref #1339 - check authentication scheme case-insensitively (#1340)
1 parent b32de41 commit 690cf2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/SIP/SIPHeader.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ public static SIPAuthenticationHeader ParseSIPAuthenticationHeader(SIPAuthorisat
856856
{
857857
Value = headerValue
858858
};
859-
if (headerValue.StartsWith(SIPAuthorisationDigest.METHOD))
859+
if (headerValue.StartsWith(SIPAuthorisationDigest.METHOD, StringComparison.OrdinalIgnoreCase))
860860
{
861861
authHeader.SIPDigest = SIPAuthorisationDigest.ParseAuthorisationDigest(authorizationType, headerValue);
862862
}

0 commit comments

Comments
 (0)