[
https://issues.apache.org/jira/browse/JSPWIKI-1205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040187#comment-18040187
]
ASF subversion and git services commented on JSPWIKI-1205:
----------------------------------------------------------
Commit edc63420b40c6f52cb65c0fcd365d7097dfd8e04 in jspwiki's branch
refs/heads/master from Alex
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=edc63420b ]
JSPWIKI-1205 adjusts the handling for too large file attachments. This change,
while it addresses the issue, might cause a new issue whereby updatlong an
extremely large file might cause OOM errors since the commons file uploader
parses and buffers the whole http request. And the way the upload page works,
it is not possible to get the correct redirect url without parsing the request.
unformately, i don't think there's a way to add an http header to multipart
form post from javascript.. open to other opinions on this
> When uploading a file attachment greater than the limit, a 500 internal
> server error is displayed
> -------------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-1205
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1205
> Project: JSPWiki
> Issue Type: Bug
> Reporter: Alex O'Ree
> Assignee: Alex O'Ree
> Priority: Major
> Labels: pull-request-available
>
> this is not super helpful to the user as they have no idea what's wrong....
> can we get a cleaner error message for this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)