spyhunter99 commented on code in PR #405:
URL: https://github.com/apache/jspwiki/pull/405#discussion_r2531940692


##########
jspwiki-main/src/main/java/org/apache/wiki/attachment/AttachmentServlet.java:
##########
@@ -399,15 +415,26 @@ protected String upload( final HttpServletRequest req ) 
throws RedirectException
             final UploadListener pl = new UploadListener();
 
             m_engine.getManager( ProgressManager.class ).startProgress( pl, 
progressId );
-
+            if 
("chunked".equalsIgnoreCase(req.getHeader("Transfer-Encoding"))) {

Review Comment:
   fair point. in testing, i couldn't get the chunked encoding to happen with 
any browser or file size in this case so i think this is a 'just in case' 
scenario.
   
   good idea putting the limit on the upload page, that should be doable



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