joomla/joomla-cms — pull request #1023 by anibalsanchez (2013-04-21 16:45:55+00:00)
Title: Update json.php - array processing

The current implementation accepts the input and applies json_decode to decode the form post.

However, the jform array is posted in this way in the php://input.

{"jform[language]":"gu-IN"}

And, json_decode generates $this->data['jform[language]']="gu-IN".

The patch reviews $this->data to detect arrays and generate:

$this->data['jform']['language']="gu-IN"

Regards,
Anibal