[Webkit-unassigned] [Bug 184490] New: Safari 11 does not send full HTTP request from multipart/form-data form

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 11 00:32:42 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184490

            Bug ID: 184490
           Summary: Safari 11 does not send full HTTP request from
                    multipart/form-data form
           Product: WebKit
           Version: Safari 11
          Hardware: All
                OS: macOS 10.13
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mfcdikiyprapor at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 337684

  --> https://bugs.webkit.org/attachment.cgi?id=337684&action=review

request body

Bug is present only in Safari 11. Safari 9 and 10 work well.

1. We have a form with enctype="multipart/form-data"
2. The form has input[type=file]
3. If the file is not selected, Safari does not send the full request, stopping at the last line of the request.
4. Request body attached, header "Content-Length: 715"
5. The behavior does not depend on the version of the HTTP protocol:

HTTP/1.1
2018/04/11 00:35:35 [debug] 13989#0: *838 http read client request body
2018/04/11 00:35:35 [debug] 13989#0: *838 http client request body recv 669
2018/04/11 00:35:35 [debug] 13989#0: *838 http client request body rest 715

HTTP/2
2018/04/10 14:18:40 [info] 8478#0: *34 client prematurely closed stream: only 669 out of 715 bytes of request body received

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180411/1e955b3a/attachment-0002.html>


More information about the webkit-unassigned mailing list