Provide control over formatting of request in HttpWebHandlerAdapter #24352
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Affects: 5.1.4-RELEASE
In HttpWebHandlerAdapter, if there is an exception that is not handled, it will log the entire request url.
https://github.com/spring-projects/spring-framework/blob/master/spring-web/src/main/java/org/springframework/web/server/adapter/HttpWebHandlerAdapter.java#L246
This is a problem for us because we have the user query as part of the URL and cannot log it due to security concerns. We want to be 100% sure that we will never log the user query, no matter what.
In order to do this, we had to copy these into our project :
And override HttpHandler bean to use the local version of the class
Suggestion here is to either :
Any other suggestions are also welcome.
The text was updated successfully, but these errors were encountered: