Skip to content
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

Error on filter chain when processing unauthorized/invalid requests #116

Closed
matteo-s opened this issue May 30, 2022 · 0 comments
Closed
Labels
Milestone

Comments

@matteo-s
Copy link
Collaborator

Due to a bug in spring ErrorPageSecurityFilter which doesn't correctly handle multiple filter chains and DummyRequests, requests which generate an error in any filter chain but default will end up intercepted by the default error handler, which will process a dummyrequest without details. All custom rules accessing request details (port, remote address, scheme etc) will trigger a nullpointerexception because of missing request details.

See
spring-projects/spring-security#10664
spring-projects/spring-security#10554
spring-projects/spring-security#11055 (comment)

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

No branches or pull requests

1 participant