Issue Bug Closed

#86731Frontend RequestHandler can set $_POST to null

Daniel Goerz 10/24/18, 10:05 updated 05/07/19, 12:15

Description

If the body of e POST request is empty, the Frontend RequestHanlder sets $_POST to null wich leads to all kinds of errors.

One to reproduce:
1. Add a gp:myVar to your TypoScript when rendering any CObject
2. Make a POST request
3. An exception is thrown because $_POST is null but is treated as an array everywhere

Reviews 1