On 24/11/2026 06:41, Chunhui Liu wrote:

<snip/>

So, do you think we should add a null check before calling parseLong to
avoid generating exceptions in
this common scenario?

That looks like a reasonable proposal to me.

The HTTP file upload code is a fork of Commons File Upload. The best way to fix this would be to report the issue against Commons File Upload and get it fixed there. Tomcat would then pick up the fix after the next Commons File Upload release.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to