Separate handling for request methods #1

Closed
opened 2024-10-30 17:47:22 +07:00 by Arsen Mirzaev Tatyano-Muradovich · 1 comment
  1. It is necessary to completely abandon $_REQUEST and replace it with $_POST, $_GET, $_DELETE, $_COOKIE
  2. It is necessary to implement a check for the "content-type" header in the POST request for the presence of the values ​​multipart/form-data or application/x-www-form-urlencoded

изображение

1. It is necessary to completely abandon `$_REQUEST` and replace it with `$_POST`, `$_GET`, `$_DELETE`, `$_COOKIE` 2. It is necessary to implement a check for the "content-type" header in the POST request for the presence of the values ​​`multipart/form-data` or `application/x-www-form-urlencoded` ![изображение](/attachments/f1a4ed0a-e996-48e9-b505-10030f6a9e10)
Arsen Mirzaev Tatyano-Muradovich added the
Feature
label 2024-10-30 20:15:29 +07:00
Arsen Mirzaev Tatyano-Muradovich self-assigned this 2024-10-30 20:15:34 +07:00

resolved 6a4ea3f351

resolved https://git.mirzaev.sexy/mirzaev/minimal/commit/6a4ea3f35194b6b5714e661daa28daa779e796eb
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mirzaev/minimal#1
No description provided.