Actualiser index.php
Disallow POST due to 429
This commit is contained in:
parent
7f162fa616
commit
65f977918f
1 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,8 @@ class RequestHandler
|
||||||
if ($method === 'GET') {
|
if ($method === 'GET') {
|
||||||
$this->redirectGet($instance, $query);
|
$this->redirectGet($instance, $query);
|
||||||
} elseif ($method === 'POST') {
|
} elseif ($method === 'POST') {
|
||||||
$this->proxyPost($instance, $_POST);
|
$this->redirectGet($instance, $query);
|
||||||
|
// $this->proxyPost($instance, $_POST);
|
||||||
} else {
|
} else {
|
||||||
http_response_code(405);
|
http_response_code(405);
|
||||||
exit('Méthode non autorisée');
|
exit('Méthode non autorisée');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue