[ 
https://issues.apache.org/jira/browse/SLING-6017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15458155#comment-15458155
 ] 

Satya Deep Maheshwari commented on SLING-6017:
----------------------------------------------

[~ianeboston], if I use a POST request as follows:

{code}
curl -v -F key1=value1 -F [email protected] 
http://admin:admin@localhost:4502/content/test?uploadmode=stream
{code}

then for the {{part}} containing the file binary, 
{{part.getSubmittedFileName()}} returns {{file}} rather than {{test.jpg}} . 
This seems incorrect as per the expected behavior of 
{{part.getSubmittedFileName()}} documented at this 
[link|https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/Part.html].

cc [[email protected]]

> Streaming Uplads detection of request parameters is wrong.
> ----------------------------------------------------------
>
>                 Key: SLING-6017
>                 URL: https://issues.apache.org/jira/browse/SLING-6017
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.6.2
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: Engine 2.6.4
>
>
> The way in which a request field that is not a file upload is detected is 
> wrong. Reported in SLING-5948.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to