You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disable Lowercase HTTP Method Firewall Test #19541
Since Spring Framework's HttpMethod#valueOf now performs a case-insensitive
lookup (spring-framework#36518), HttpMethod.valueOf("get") resolves to HttpMethod.GET instead of a distinct non-canonical value.
As a result, StrictServerWebExchangeFirewallTests#getFirewalledExchangeWhenLowercaseGetThenThrowsServerExchangeRejectedException
no longer holds: a lowercase get request is no longer distinguishable as
non-canonical case by the time it reaches the firewall, so it is processed
as an ordinary GET instead of being rejected.
This test has been disabled since the behavior it asserts is no longer
possible upstream. The team should confirm whether to remove it outright, or
repurpose it to document that a customized ServerExchangeRejectedHandler
is no longer invoked for this case.
Activity
Disable Lowercase HTTP Method Firewall Test