Bug #77450 [Opn->Fbk]: Segmentation fault 11 with multipart/form-data POST request without formData

From: Date: Mon, 14 Jan 2019 09:27:59 +0000
Subject: Bug #77450 [Opn->Fbk]: Segmentation fault 11 with multipart/form-data POST request without formData
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218930@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77450&edit=1 ID: 77450 Updated by: nikic@php.net Reported by: sinewavz at gmail dot com Summary: Segmentation fault 11 with multipart/form-data POST request without formData -Status: Open +Status: Feedback Type: Bug Package: *Data Exchange functions Operating System: OSX 10.14.2 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Can you please provide the raw HTTP payload that is being sent? Previous Comments: ------------------------------------------------------------------------ [2019-01-12 14:34:28] sinewavz at gmail dot com formData = subscriptionData, forgot to rename it ------------------------------------------------------------------------ [2019-01-12 14:32:41] sinewavz at gmail dot com Description: ------------ tested on php 7.28 and 7.2.9 error: [ERROR] The process has been signaled with signal "11". PHP crashes when sending post request with 'Content-Type': 'multipart/form-data' headers while attaching a plain javascript object instead of a regular formData object Environment MAMPP PHP 7.28 and 7.2.9 Symfony 3.4 Vue.JS Test script: --------------- JAVASCRIPT CODE : const formData = { subscription: this.form} $http.post(config.api_url + config.subscription_path + '/create', subscriptionData, { headers: { 'Content-Type': 'multipart/form-data' } }) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77450&edit=1

« previous php.bugs (#218930) next »