-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering roles with special characters give 500 error response #21776
Comments
AnalysisUpon calling the For example, if the filter string is Next, the listRolesWithGET() method is invoked, which internally invokebuildSearchFilter(), which constructs and returns the search filter string ( Within the role service layer, getExpressionNodes() is called, utilizing the FilterTreeBuilder class to construct the filter tree. The root cause of the internal server error occurs at this stage. Within FilterTreeBuilder.java, the filter expression list(token list) remains unchanged: To resolve this issue, two possible solutions are available:
|
Describe the issue:
Filtering roles with special characters give 500 error response
How to reproduce:
Contains OR
orContains AND
or filtering with any other special character gives errorAPI Request:
API Response:
Expected behavior:
Environment information (Please complete the following information; remove any unnecessary fields) :
Optional Fields
Related issues:
Suggested labels:
The text was updated successfully, but these errors were encountered: