Skip to content

KNOX-3132: Improve URL checks for originalUrl #1027

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bonampak
Copy link
Contributor

What changes were proposed in this pull request?

Adding basic url check and for originalUrl for logout and redirecting jsp. Also encoding urls for javascript and html output.

How was this patch tested?

Tested using a dev cluster. simple login and sso, global logout was also tested with CAS PAC4J demo app.

Copy link
Contributor

@smolnar82 smolnar82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smolnar82
Copy link
Contributor

@moresandeep - Could you please take a look at this one? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants