Skip to content

Conversation

@route443
Copy link
Contributor

Storing a URI directly in the auth_redir cookie without encoding has led to issues where browsers misinterpret special characters, like semicolons, as part of the cookie delimiter. This behavior results in the truncation of the URI at the special character, causing incomplete or incorrect redirection URLs after user authentication.

Storing a URI directly in the auth_redir cookie without encoding has led
to issues where browsers misinterpret special characters, like semicolons,
as part of the cookie delimiter. This behavior results in the truncation of
the URI at the special character, causing incomplete or incorrect redirection
URLs after user authentication.
@route443 route443 requested a review from jimf5 December 29, 2023 07:55
Copy link

@jimf5 jimf5 left a comment

Choose a reason for hiding this comment

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

Looks good

@route443
Copy link
Contributor Author

This request is intended to fix issue #85.

@route443 route443 merged commit 39334b6 into nginxinc:main Dec 29, 2023
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