Re: Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
The error message comes from the IllegalArgumentException thrown by java.io.File.createTempFile() - it doesn't feature in the Struts distribution at all. Because there's no entry in struts-messages.properties for struts.messages.upload.error.IllegalArgumentException it gets added to the errors

RE: Issue with jakarta-stream multipart parser

2016-01-05 Thread Martin Gainty
difficulty locating error message "Prefix string too short" If I download struts-2.3.4.1 and expand struts2-2.3.4.1 from https://www.apache.org/dist/struts/2.3.24.1/ struts2-2.3.24.1>grep -S -l "Prefix string too short" *there are no hits? Please confirm https://www.apache.org/dist/struts/2.3.24

Issue with jakarta-stream multipart parser

2016-01-05 Thread Stephen H
I'm having a problem using the jakarta-stream multipart parser when a filename is used that is just a single character long excluding the suffix. This triggers a check in java.io.File.createTempFile that ensures that a supplied prefix must be at least three characters long: java.lang.IllegalAr