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:56:49 UTC

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

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

ghs updated CXF-6724:
---------------------
    Description: 
POST /web/filetransfer HTTP/1.1
Host: fs.test.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.

  was:
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.


> 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: 2.7.18, 3.1.4
>         Environment: tomcat spring
>            Reporter: ghs
>
> POST /web/filetransfer HTTP/1.1
> Host: fs.test.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)