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/13 05:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/FELIX-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed FELIX-6482.
-----------------------------------

> 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.base-4.1.4, http.jetty-4.1.12, http.bridge-4.1.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: http.jetty-4.1.14, http.bridge-4.1.6, http.base-4.1.6
>
>
> 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)