mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Additional open_basedir/safe_mode checks.
This commit is contained in:
parent
9622ccface
commit
0ba24fb65a
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC);
|
|||
RETURN_FALSE; \
|
||||
} \
|
||||
\
|
||||
if (tmp_url->query || php_check_open_basedir(tmp_url->path TSRMLS_CC) || \
|
||||
if (tmp_url->query || tmp_url->fragment || 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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue