mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Redirect curl_file_create() to CURLFile::__construct() (#696)
This commit is contained in:
@@ -290,6 +290,7 @@ $manual_redirections = [
|
||||
'oci-collection.max' => 'ocicollection.max',
|
||||
'oci-collection.size' => 'ocicollection.size',
|
||||
'oci-collection.trim' => 'ocicollection.trim',
|
||||
'function.curl-file-create' => 'curlfile.construct',
|
||||
];
|
||||
|
||||
if (preg_match("!^manual/([^/]+)/([^/]+)$!", $URI, $match) && isset($manual_redirections[$match[2]])) {
|
||||
|
||||
Reference in New Issue
Block a user