This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 87ea3bbbf933077685baf55085f7528c658fcdfe
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Nov 19 08:09:36 2026 +0100

    WW-5751 docs: a negative maximumSize disables the upload size check
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 source/core-developers/action-file-upload-interceptor.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/source/core-developers/action-file-upload-interceptor.md 
b/source/core-developers/action-file-upload-interceptor.md
index bc4bc92577..3c2953e7e0 100644
--- a/source/core-developers/action-file-upload-interceptor.md
+++ b/source/core-developers/action-file-upload-interceptor.md
@@ -40,7 +40,8 @@ You can override the text of these messages by providing text 
for the following
 
  - `maximumSize` (optional) - the maximum size (in bytes) that the interceptor 
will allow a file reference to be set
    on the action. Note, this is <b>not</b> related to the various properties 
found in struts.properties.
-   Default to approximately 2MB.
+   Default to approximately 2MB. Since Struts 7.5.0 a negative value, e.g. 
`-1`, disables this check. A value that
+   cannot be converted to a number, such as the literal `null`, makes the 
interceptor reject every upload.
  - `allowedTypes` (optional) - a comma separated list of content types (ie: 
`text/html`) that the interceptor will allow
    a file reference to be set on the action. If none is specified allow all 
types to be uploaded.
  - `allowedExtensions` (optional) - a comma separated list of file extensions 
(ie: `.html`) that the interceptor will allow

Reply via email to