[Webkit-unassigned] [Bug 188237] New: Form post with redirect fails to send body when a service worker is registered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 1 14:24:07 PDT 2018


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

            Bug ID: 188237
           Summary: Form post with redirect fails to send body when a
                    service worker is registered
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: patrick.f.housley at gmail.com

Overview:

When a service worker is registered and a user attempts to submit a form that POSTs data to an endpoint that responds with a 307 redirect, the browser does not send the original POST body to the new URI.

Steps to Reproduce:

1) Access https://webkit-service-worker-test.herokuapp.com/
2) Enter any data into the form
3) Submit the form

Source code for test: https://github.com/patrickhousley/webkit-service-worker-test

Actual Results:

In Safari, the page shows no body data was sent when the browser's request was redirected. Attempt the same thing in Chrome or Firefox and the body data will be present.

Expected Results:

The form data should be sent to the new URI when the browser receives a 307 redirect.

Build Date & Hardware:

Mac OS X 10.12.6
Safari 11.1.2 (12605.3.8.1)

-- 
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/20180801/2ee13a44/attachment.html>


More information about the webkit-unassigned mailing list