diff options
author | Stanislav Malyshev <stas@php.net> | 2017-01-15 17:33:48 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2017-01-15 17:33:48 -0800 |
commit | 540e6728683b19ab9b1336650af06b3100422f02 (patch) | |
tree | 295ad937315c12f0825546857f9756216feb858d /ext/curl | |
parent | cd2b462a2742c79256668d4736644e34573c33d9 (diff) | |
parent | 19e80ef4963d7371ee25b85f8224ee912efe418e (diff) | |
download | php-git-540e6728683b19ab9b1336650af06b3100422f02.tar.gz |
Merge branch 'PHP-7.1'
* PHP-7.1:
Update more functions with path check
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/curl_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/curl_file.c b/ext/curl/curl_file.c index c18f365668..92378a6c6d 100644 --- a/ext/curl/curl_file.c +++ b/ext/curl/curl_file.c @@ -35,7 +35,7 @@ static void curlfile_ctor(INTERNAL_FUNCTION_PARAMETERS) zval *cf = return_value; ZEND_PARSE_PARAMETERS_START(1,3) - Z_PARAM_STR(fname) + Z_PARAM_PATH_STR(fname) Z_PARAM_OPTIONAL Z_PARAM_STR(mime) Z_PARAM_STR(postname) |