Eric Norman created SLING-13202:
-----------------------------------

             Summary: Remove dependency on commons-fileupload
                 Key: SLING-13202
                 URL: https://issues.apache.org/jira/browse/SLING-13202
             Project: Sling
          Issue Type: Improvement
            Reporter: Eric Norman
            Assignee: Eric Norman
             Fix For: Engine 3.0.4


Jetty does not need the Apache {{commons-fileupload}} library. Modern versions 
of Jetty support the Java Servlet Specification (3.0 and newer), which includes 
built-in, native APIs to parse {{multipart/form-data}} requests.

 

Refactoring to use the standard servlet apis:
 # remove the commons-fileupload dependency
 # Move the request parameter support configuration properties from the 
RequestParameterSupportConfigurer component to a new RequestParameterConfig 
component using the same PID for backward compatibility.  This config is now 
needed in two places (SlingMainServlet and RequestParameterSupportConfigurer).
 # Configure the SlingMainServlet to enable and configure multipart support 
using the standard whiteboard properties during the servlet registration.
 # Refactoring to replace the org.apache.commons.fileupload references with the 
servlet Part equivalent



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to