S
Steffen
Guest
Guest or Bot
To reproduce, send JSON input to XenForo that PHP's
Code:
Then
Code:
Read more
Continue reading...
json_decode function does not turn into an array (but into a string/int/boolean/...). For example:Code:
curl -X POST -H "Content-Type: application/json" -d "true" https://xenforo.com/community/Then
XF\Http\Request::getPhpInputJson returns a scalar value (instead of an array) which causes the following error in XF\Http\Request::__construct:Code:
Uncaught TypeError: Unsupported operand types: array + bool...Read more
Continue reading...
I
S