Skip to content

Commit

Permalink
[HOTFIX] Escape Ldap search filters
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoul committed Feb 17, 2024
1 parent 8a41f8e commit 6e2caa3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ userSearchAttributeName, expandTemplate(getUserSearchAttributeTemplate(),
}

// Implements the necessary escaping to represent an attribute value as a String as per RFC 4514.
// https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/realm/JNDIRealm.java#L2921
protected String escapeAttributeValue(String input) {
if (input == null) {
return null;
Expand Down

0 comments on commit 6e2caa3

Please sign in to comment.