Re: Disable file uploads

2017-04-16 Thread Lukasz Lenart
2017-04-15 14:08 GMT+02:00 Jim Macalister : > 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

Re: Disable file uploads

2017-04-15 Thread Jim Macalister
is there a global setting that can be added to web.xml ? or to struts.properties ? e.g. set a global non existing upload folder set max file size to 0 e.t.c. Regards On Fri, Apr 14, 2017 at 8:33 AM, Lukasz Lenart wrote: > 2017-04-13 17:43 GMT+02:00 Adam Brin

Re: Disable file uploads

2017-04-13 Thread Lukasz Lenart
2017-04-13 17:43 GMT+02:00 Adam Brin : > One step is to modify the struts.xml to create a custom stack that doesn’t > include the file-upload interceptor. Parsing of multipart request happens early, in Dispatcher so to be 100% sure you must implement a

Re: Disable file uploads

2017-04-13 Thread Adam Brin
One step is to modify the struts.xml to create a custom stack that doesn’t include the file-upload interceptor. -- _ Adam Brin Director of Technology, Digital Antiquity 480.965.1278 > On Apr 13, 2017, at 8:42 AM, Greg Lindholm