Skip to content

Add URL to RequestRejectedException when rejecting requests #5107

@PatrickGotthard

Description

@PatrickGotthard

Summary

When a request gets rejected by the StrictHttpFirewall the URL will not be logged. So it's very hard to find out which client, frontend or else caused the issue.

Actual Behavior

When a request gets rejected by the StrictHttpFirewall the error message only states why a request was blocked but not which URL was called.

Expected Behavior

When a request gets blocked by the StrictHttpFirewall the exception should contain the URL which was called.

Version

spring-security-web 5.0.3.RELEASE

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions