Ensure proper escaping for LDAP #20510
Labels
area/storage
Indicates an issue that touches storage (change in data layout or data manipulation)
kind/bug
Categorizes a PR related to a bug
Milestone
From #20396
[...] I used the command line to do some interactive testing using
The results are ok.
Examples:
Wil*son
-> finds entries with wildcard in LDAP, but not in JPA, as JPA only replaces asterisks at the beginning and the end, and*
is a natural wildcard in LDAP.Wil%son
-> finds entries with wildcard in JPA, but not LDAP, as%
is a natural wildcard in JPAWil)son
-> returns a 400 error as the LDAP doesn't properly escape braces in this search modePossible changes in that follow-up PR:
*
?)*
with%
, and escape all other wildcards like_
*
, and escape all other charactersOriginally posted by @ahus1 in #20396 (review)
The text was updated successfully, but these errors were encountered: