-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
when i asked request, I got java.lang.UnsupportedOperationException #16085
Comments
java.lang.UnsupportedOperationException: null My Spring Security version is 5.8.15, No error is reported when the version is 5.8.11. |
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug. Note also that this may be related to spring-projects/spring-framework#33789. |
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add a minimal sample that reproduces this issue if you feel this is a genuine bug. Note also that this may be related to spring-projects/spring-framework#33789. Because StrictFirewallHttpHeaders is not subclass of ReadOnlyHttpRequestHeaders. You're causing spring incompatibility. That`s a bug. spring-web org.springframework.http.HttpHeaders#writableHttpHeaders
spring-security-web org.springframework.security.web.server.firewall.StrictServerWebExchangeFirewall.StrictFirewallServerWebExchange.StrictFirewallHttpRequest#getHeaders
|
My apologies @daixiaojiang, I did not originally realize this was related to spring-projects/spring-framework#33789 and noticed that only after the fact. Please see that issue and this comment. I do not have any other update I can provide on this issue right now, but if I get any more information I will update you on it. |
@daixiaojiang you may consider using the workaround provided on gh-15974. |
When my interface accesses WebFilterChainProxy , my request cannot be modified. This error is reported to me.
The text was updated successfully, but these errors were encountered: