-
Notifications
You must be signed in to change notification settings - Fork 45
Elasticsearch implementation for Beneficiary Search #324
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
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the β¨ Finishing touchesπ§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
src/main/java/com/iemr/common/controller/beneficiary/BeneficiaryRegistrationController.java
Outdated
Show resolved
Hide resolved
| .append("?query=").append(URLEncoder.encode(query, StandardCharsets.UTF_8)); | ||
|
|
||
| if (userId != null) { | ||
| url.append("&userId=").append(userId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this userId come from? Is this the logged in user? Is this parameter going to create IDOR vulnerability?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Userid taken from token in the controller.
|



π Description
JIRA ID:
AMM-1951
β Type of Change