deploy-agent icon indicating copy to clipboard operation
deploy-agent copied to clipboard

Bad Request expected

Open Pierozi opened this issue 8 years ago • 0 comments

https://github.com/continuousphp/deploy-agent/blob/master/module/DeployAgent/src/Controller/HookController.php#L39-L42

We must check if $application is a valid parameter, because in case of bad configuration of input parameter the next instruction will produce FATAL Error with method unexist on null variable.

The expected answer are a 400 Bad Request.

Pierozi avatar Jan 11 '17 10:01 Pierozi