Fix ForwardedHeaderFilter preserves semicolon content
Previously a requestURI that contained ';' would have the value incorrectly stripped out when using ForwardedHeaderFilter. This commit ensures that the ';' is preserved when using ForwardedHeaderFilter. Issue: SPR-15428
This commit is contained in:
@@ -74,6 +74,7 @@ public class ForwardedHeaderFilter extends OncePerRequestFilter {
|
||||
public ForwardedHeaderFilter() {
|
||||
this.pathHelper = new UrlPathHelper();
|
||||
this.pathHelper.setUrlDecode(false);
|
||||
this.pathHelper.setRemoveSemicolonContent(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user