summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2017-01-09 11:02:50 -0800
committerSara Golemon <pollita@php.net>2017-01-09 11:02:50 -0800
commit7e49e8e7970b423968de7a53ea9a0796f4634276 (patch)
tree3989f935caa391757695cc444672ce9252ea49b8 /sapi/cli/php_cli.c
parentdb890956ecc11c090716a536b00a07f2499fa73a (diff)
downloadphp-git-7e49e8e7970b423968de7a53ea9a0796f4634276.tar.gz
Fix open_basedir check for glob:// opendir wrapper
php_check_open_basedir() expects a local filesystem path, but we're handing it a `glob://...` URI instead. Move the check to after the path trim so that we're checking a meaningful pathspec.
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions