diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-10-17 02:42:17 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-10-17 02:42:17 +0000 |
commit | 21979641ca2f6b0c8185d8564f66ef5e94e92109 (patch) | |
tree | feb18c828161517117d97ed005607da5ca6c586c /ext/curl | |
parent | 0465f487a459841ef67841ea4d36e77864718a62 (diff) | |
download | php-git-21979641ca2f6b0c8185d8564f66ef5e94e92109.tar.gz |
Further URL validations in safe_mode/open_basedir configs.
Diffstat (limited to 'ext/curl')
-rw-r--r-- | ext/curl/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c index 7a70093db3..ace8a5a9f5 100644 --- a/ext/curl/interface.c +++ b/ext/curl/interface.c @@ -75,7 +75,7 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC); RETURN_FALSE; \ } \ \ - if (php_check_open_basedir(tmp_url->path TSRMLS_CC) || \ + if (tmp_url->query || php_check_open_basedir(tmp_url->path TSRMLS_CC) || \ (PG(safe_mode) && !php_checkuid(tmp_url->path, "rb+", CHECKUID_CHECK_MODE_PARAM)) \ ) { \ php_url_free(tmp_url); \ |