reta commented on code in PR #3802:
URL: https://github.com/apache/cxf/pull/3802#discussion_r4741773847


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java:
##########
@@ -376,11 +382,13 @@ protected void serveStaticContent(HttpServletRequest 
request,
                                       String pathInfo) throws ServletException 
{
         String path = UrlUtils.normalizePath(pathInfo);
         if (path == null || isProtectedPath(path)) {
-            throw new ServletException("Static resource " + pathInfo + " is 
not available");
+            sendNotFound(response);

Review Comment:
   > What I could do is not backport this to 4.1?
   
   Agree, thanks @coheigea 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to