-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add allowedScopes as query string in consent page #2297
Add allowedScopes as query string in consent page #2297
Conversation
5197be6
to
46bbc6e
Compare
PR builder started |
PR builder completed |
46bbc6e
to
5710195
Compare
PR builder started |
PR builder completed |
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.
Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/7162310751
if (queryString.contains(REQUEST_URI) && params != null) { | ||
StringBuilder queryStringBuilder = new StringBuilder(); | ||
queryStringBuilder.append(entry.getQueryString()); | ||
if (entry.getQueryString().contains(REQUEST_URI) && params != null) { |
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.
is this null safe?
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.
This is getting called here [1] and it's already checking whether the entry is null. And this is the only usage of that method.
[1] -
Lines 819 to 820 in 5710195
if (entry != null && entry.getQueryString() != null) { | |
queryString = getQueryString(params, entry); |
Proposed changes in this pull request
Related Issue(s)