mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Add comment
This commit is contained in:
parent
a91509726c
commit
e76be32463
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class HttpInput{
|
|||
&&
|
||||
preg_match('/^application\/x-www-form-urlencoded(;|$)/', $contentType)
|
||||
){
|
||||
// TODO: On PHP >= 8.4, use the new `request_parse_body()` function instead.
|
||||
parse_str(file_get_contents('php://input'), $_POST);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue