Jan 9, 2017
0
Level 48
Request add a non form field
- Laravel Version: 5.3.29
- PHP Version: 7.0 / 7.1.0
- Database Driver & Version: mariaDB 10.0.24
Description:
I just change the hosting provider where the app was running without any issue (PHP 5.6) and I noticed that sending a POST request with:
$('form#queryForm').serialize()
"from=express&user_id=wzJ6v357mE23&exam=&last_vaccine=23%2F06%2F2016&last_desp=&appealling=1&dieta=&temp=&pv=&fc=&fr=&mucosas=&mental=&remarks="
the request()->all() has and additional field q
array:15 [
"from" => "express"
"user_id" => "wzJ6v357mE23"
"exam" => ""
"last_vaccine" => "23/06/2016"
"last_desp" => ""
"appealling" => "1"
"dieta" => ""
"temp" => ""
"pv" => ""
"fc" => ""
"fr" => ""
"mucosas" => ""
"mental" => ""
"remarks" => ""
"q" => "/histories/storeExpress/y2X8YpoN7woL"
]
Any clue?
Please or to participate in this conversation.