Skip to content

Commit 8d212eb

Browse files
Claude suggests case-insensitive compare
1 parent c95efe3 commit 8d212eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/src/org/labkey/api/security/SecurityManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ public static Pair<User, HttpServletRequest> attemptAuthentication(HttpServletRe
667667
if (null == apiKey)
668668
{
669669
String authorization = request.getHeader("Authorization");
670-
if (Strings.CS.startsWith(authorization, "Bearer "))
670+
if (Strings.CI.startsWith(authorization, "Bearer "))
671671
apiKey = StringUtils.trimToNull(authorization.substring("Bearer ".length()));
672672
}
673673

0 commit comments

Comments
 (0)