struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Disable file uploads
Date Sun, 16 Apr 2017 12:35:01 GMT
2017-04-15 14:08 GMT+02:00 Jim Macalister <jimmacalister@gmail.com>:
> is there a global setting that can be added to web.xml ? or to
> struts.properties ?

Nope, there is no such thing, but I can develop a NoOp multipart
parser and add it to struts-extras

> e.g. set a global non existing upload folder
> set max file size to 0 e.t.c.

Interesting ... but the validation happens when the request got already parsed


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message