[Webkit-unassigned] [Bug 161860] Upload FormData isn't sent on redirect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 18 00:27:44 PDT 2016


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

--- Comment #4 from Binyamin <7raivis at inbox.lv> ---
The bug is related to latest Safari on Mac.
You can run the simplest test and see that it's Safari regression bug (as working fine on old Safari 5.1). It is always yours (Webkit/Apple dev team) decision to keep Safari buggy or to fix it.

The steps to reproduce the bug:
1. create HTML form with <input type=file>
2. on form post interact with JavaScript and send JavaScript FormData (as POST request) with Ajax to /validate-token
3. for /validate-token make server-side redirect to /upload-request
4 - now you will see that all headers and the posted data are cleared and not sent/redirected to /upload-request while expected.

It works fine (all data sent to /upload-request) on all browsers, except latest Safari (it might be a Safari bug for years).

Resources
FormData https://developer.mozilla.org/en/docs/Web/API/FormData
Ajax https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest

Hope it makes you sence.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160918/7b733305/attachment.html>


More information about the webkit-unassigned mailing list