alopresto commented on a change in pull request #4125: NIFI-7153 Adds
ContentLengthFilter and DoSFilter
URL: https://github.com/apache/nifi/pull/4125#discussion_r390708884
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java
##########
@@ -590,11 +591,15 @@ private WebAppContext loadWar(final File warFile, final
String contextPath, fina
// add HTTP security headers to all responses
final String ALL_PATHS = "/*";
- ArrayList<Class<? extends Filter>> filters = new
ArrayList<>(Arrays.asList(XFrameOptionsFilter.class,
ContentSecurityPolicyFilter.class, XSSProtectionFilter.class));
+ ArrayList<Class<? extends Filter>> filters = new
ArrayList<>(Arrays.asList(
Review comment:
Not a complete solution; see comments on unit test below.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services