I just updated my production servers from 9.0.104 to 9.0.106
and this broke my registration form with the following exception.

Stack Trace:
   org.apache.tomcat.util.http.fileupload.impl.FileCountLimitExceededException: 
attachment
        at 
org.apache.tomcat.util.http.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:459)
        at org.apache.catalina.connector.Request.parseParts(Request.java:2691)
        at 
org.apache.catalina.connector.Request.parseParameters(Request.java:3014)
        at 
org.apache.catalina.connector.Request.getParameterNames(Request.java:1183)
        at 
org.apache.catalina.connector.RequestFacade.getParameterNames(RequestFacade.java:321)

This is a multi-part form post but I have a common parameter processing
code that checks for
request parameters first before checking for multi-part content. When I
wrote the code I think getParameterNames
returned an empty Enumeration for multi-part content but that might
have changed since.

Clearly I could check for multi-part content first and avoid calling
getParameterNames at all
but it seems wrong to me that the call has started throwing an exception.


                        Stephen

======================================================================
|epcc| Dr Stephen P Booth             Principal Architect       |epcc|
|epcc| s.bo...@epcc.ed.ac.uk          Phone 0131 650 5746       |epcc|
======================================================================
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to