[Webkit-unassigned] [Bug 177647] FormData does not post the content of new File()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 1 23:14:17 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177647
--- Comment #3 from Roland Soos <roland at nextendweb.com> ---
Example:
https://jsfiddle.net/wpojjza9/
Expected result: Size parameter should be 11, Safari has 0 and the posted file's content is empty.
Safari result:
$_FILES
array(1) {
["test"]=>
array(5) {
["name"]=>
string(8) "test.txt"
["type"]=>
string(24) "application/octet-stream"
["tmp_name"]=>
string(39) "/storage/ssd2/114/3113114/tmp/phpaR17WC"
["error"]=>
int(0)
["size"]=>
int(0)
}
}
Chrome result:
$_FILES
array(1) {
["test"]=>
array(5) {
["name"]=>
string(8) "test.txt"
["type"]=>
string(24) "application/octet-stream"
["tmp_name"]=>
string(39) "/storage/ssd2/114/3113114/tmp/phpyPWqlE"
["error"]=>
int(0)
["size"]=>
int(11)
}
}
--
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/20171002/bcd8d964/attachment.html>
More information about the webkit-unassigned
mailing list