-
Enhancement
-
Resolution: Done
-
Major
-
4.6.0.Final
-
None
-
Undefined
MessageSanitizerContainerResponseFilter checks if it disables the html santizer for each request, we only need to do this when response code is 400:
ResteasyDeployment deployment = ResteasyContext.getContextData(ResteasyDeployment.class); if (deployment != null) { Boolean disable = (Boolean) deployment.getProperty(ResteasyContextParameters.RESTEASY_DISABLE_HTML_SANITIZER); if (disable != null && disable) { return; } }