You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/12/09 12:19:00 UTC

[jira] [Created] (FELIX-6482) Root directory used if location for multipart is set to empty string

Carsten Ziegeler created FELIX-6482:
---------------------------------------

             Summary: Root directory used if location for multipart is set to empty string
                 Key: FELIX-6482
                 URL: https://issues.apache.org/jira/browse/FELIX-6482
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
    Affects Versions: http.jetty-4.1.12
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: http.jetty-4.1.14


When the location property for a whiteboard servlet handling multipart uploads is set to the empty string, then this empty string is used as the location, resulting in the files tried to be created in the root of the file system.
Unfortunately the OSGi annotation HttpWhiteboardServletMultipart has the empty string as the default.
We should treat the empty string the same as null



--
This message was sent by Atlassian Jira
(v8.20.1#820001)