Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend() - Pass $_REQUEST (including processed Input) to every Module method - Delete $_POST parameters at Module post() calls because of $_REQUEST
This commit is contained in:
committed by
Hypolite Petovan
parent
f580d8e5c0
commit
2e4d654c0a
@@ -11,12 +11,11 @@ use Psr\Http\Message\ResponseInterface;
|
||||
interface ICanHandleRequests
|
||||
{
|
||||
/**
|
||||
* @param array $post The $_POST content (in case of POST)
|
||||
* @param array $request The $_REQUEST content (in case of GET, POST)
|
||||
* @param array $request The $_REQUEST content (including content from the PHP input stream)
|
||||
*
|
||||
* @return ResponseInterface responding to the request handling
|
||||
*
|
||||
* @throws HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public function run(array $post = [], array $request = []): ResponseInterface;
|
||||
public function run(array $request = []): ResponseInterface;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user