Skip to content

Commit

Permalink
RANGER-4963: Unescaped spaces with disjunctive matching in solr range…
Browse files Browse the repository at this point in the history
…r_auth

Signed-off-by: Pradeep Agrawal <[email protected]>
Change-Id: I4c3adc2cc940b96fb5a5ff01a8ea25bf493b26cb
  • Loading branch information
Arveti authored and pradeepagrawal8184 committed Oct 22, 2024
1 parent 50f75d7 commit d54eae3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ private String getDisjunctiveFilterQueryStr(Set<String> roles) {
if (roles != null && !roles.isEmpty()) {
StringBuilder builder = new StringBuilder();
for (String role : roles) {
addDisjunctiveRawClause(builder, role);
addDisjunctiveRawClause(builder, "\"" + role + "\"");
}
if (allRolesToken != null && !allRolesToken.isEmpty()) {
addDisjunctiveRawClause(builder, allRolesToken);
Expand Down

0 comments on commit d54eae3

Please sign in to comment.