You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by GitBox <gi...@apache.org> on 2021/04/26 07:50:58 UTC

[GitHub] [maven-site-plugin] michael-o commented on a change in pull request #48: [MSITE-872] Set the Content-Type header

michael-o commented on a change in pull request #48:
URL: https://github.com/apache/maven-site-plugin/pull/48#discussion_r620052947



##########
File path: src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java
##########
@@ -118,17 +118,14 @@ public void doFilter( ServletRequest servletRequest, ServletResponse servletResp
             }
         }
         // Set the contentType for the response
-        if ( null != servletResponse ) 
+        File file  = new File ( path );
+        Path aPath = file.toPath();

Review comment:
       ??? Why not create a patch directly?




-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org