1
0
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:
Máté Kocsis
2022-09-09 16:17:55 +02:00
committed by GitHub
parent b8c35de3c9
commit a0352f2138

View File

@@ -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]])) {