You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ghs (JIRA)" <ji...@apache.org> on 2015/12/30 07:55:49 UTC

[jira] [Created] (CXF-6724) Should give a exception if there are no multipart boundary in multipart/form-data Content-Type

ghs created CXF-6724:
------------------------

             Summary: Should give a exception if there are no multipart boundary in multipart/form-data Content-Type
                 Key: CXF-6724
                 URL: https://issues.apache.org/jira/browse/CXF-6724
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.1.4, 2.7.18
         Environment: tomcat spring
            Reporter: ghs


POST /web/filetransfer HTTP/1.1
Host: fs.test.yujian360.com:8080
Cache-Control: no-cache
Postman-Token: 0a9429d1-20b7-2423-220a-663da593734a
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

----WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="upload-file"; filename="0-1451369532015575.jpg"
Content-Type: image/jpeg


----WebKitFormBoundary7MA4YWxkTrZu0gW

if there are no "boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", cxf can't give a exception but sometimes it will lost file data.



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