[
https://issues.apache.org/jira/browse/SLING-13202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123565#comment-18123565
]
Eric Norman commented on SLING-13202:
-------------------------------------
[~joerghoh] I've removed the fix version value. This isn't an urgent issue for
me and it looks like PR doesn't merge cleanly anymore with recent changes so it
will have to be redone.
> 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
> Priority: Major
>
> 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)