-
Notifications
You must be signed in to change notification settings - Fork 7k
[core] Test for more browser-specific headers in dashboard browser rejection logic #59042
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
Signed-off-by: Richo Healey <richo@anyscale.com>
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.
Code Review
This pull request enhances the detection of browser-based requests by adding more headers to the denylist, including Referer, Origin, and CORS-related headers. The changes are accompanied by a comprehensive set of new test cases that cover various browsers and scenarios, which is great. My feedback focuses on improving the maintainability and readability of both the implementation and the new tests.
…jection logic (ray-project#59042) ## Description Adds more headers to the denylist for recognising browser requests and denying them ## Related issues Supercedes ray-project#59040 Signed-off-by: Richo Healey <richo@anyscale.com>
…jection logic (ray-project#59042) ## Description Adds more headers to the denylist for recognising browser requests and denying them ## Related issues Supercedes ray-project#59040 Signed-off-by: Richo Healey <richo@anyscale.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Cherry pick: - #59042 Signed-off-by: Richo Healey <richo@anyscale.com> Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com> Co-authored-by: richo-anyscale <richo@anyscale.com>
Description
Adds more headers to the denylist for recognising browser requests and denying them
Related issues
Supercedes #59040