juanpablo-santos commented on code in PR #405:
URL: https://github.com/apache/jspwiki/pull/405#discussion_r2531936552
##########
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:
I'd rather let the container try to save the file in this case, but that's
only one opinion. Related to this, perhaps displaying the attach file limit on
the upload page would help to alleviate this kind of errors?
--
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]