History log of /PHP-7.3/ext/standard/dir.c (Results 176 – 200 of 245)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: PRE_TSRM_MERGE_PATCH
# 771e3e49 13-Jul-2001 James E. Flemer

o Fixed Bug #12121: chdir and safe_mode
- [ main/safe_mode.h ] added new checkuid mode:
CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check
fails

- [ ex

o Fixed Bug #12121: chdir and safe_mode
- [ main/safe_mode.h ] added new checkuid mode:
CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check
fails

- [ ext/standard/dir.c ] changed php_checkuid() to use
CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR

- [ main/safe_mode.c ] added code for new checkuid mode

o Fixed Bug #12119: safe mode owner check can be bypassed with symlink
- [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination
of symlink before trimming filename

o New Feature: safe_mode_include_dir (php.ini directive)
- Allows bypassing UID/GID checks when including files
from the directory in safe_mode_include_dir and its
subdirectories. (safe_mode must be on, directory must
also be in include_path or full path must be used when
including)

o Fixed Feature: safe_mode_gid (php.ini directive)
- Correctly check (and report) UID/GID bits on directories

o Changed include() fall back to scripts cwd implementation
- CWD added to the (local) search path in php_fopen_with_path()
instead of seperate case. [ main/fopen_wrappers.c ]

show more ...


Revision tags: PRE_GRANULAR_GARBAGE_FIX, php-4.0.6
# 03ae0d77 20-Jun-2001 Thies C. Arntzen

add PLS_FETCH();


# 94897efc 20-Jun-2001 Rasmus Lerdorf

Fix for #11570


Revision tags: php-4.0.6RC4, php-4.0.6RC3
# 81e2cf03 06-Jun-2001 Rasmus Lerdorf

Fix folding and clean up some extensions


# 25c3a3a3 05-Jun-2001 Rasmus Lerdorf

vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions


Revision tags: php-4.0.6RC2, php-4.0.6RC1, php-4.0.5
# 4c823e8a 30-Apr-2001 Andi Gutmans

- Change macros from V_ to VCWD_ because of AIX name clash


# 91451bfc 29-Apr-2001 Andi Gutmans

- Remove leak from opendir() under Windows. Maybe readdir.c should be
changed to use emalloc()
PR:
Submitted by:
Reviewed by:
Obtained from:


# 21603118 29-Apr-2001 Andi Gutmans

- Fix bug Bug id #5987. It could be fixed by changing readdir.c but I
- prefered not to touch that code but to treat windows a bit differently
- in dir.c
PR:
Submitted by:
Reviewe

- Fix bug Bug id #5987. It could be fixed by changing readdir.c but I
- prefered not to touch that code but to treat windows a bit differently
- in dir.c
PR:
Submitted by:
Reviewed by:
Obtained from:

show more ...


Revision tags: php-4.0.5RC8, php-4.0.5RC7
# b936138f 09-Apr-2001 Sean Bright

Constand should be case sensitive.
# Thanks Sterling


# 5464d295 09-Apr-2001 Jon Parise

Fix whitespace (use tabs).


# ec6f1887 09-Apr-2001 Sean Bright

Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk>


# 368c6bf0 08-Apr-2001 Stig Bakken

@Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig)


Revision tags: php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2, php-4.0.5RC1
# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001


# c2fb53be 23-Feb-2001 Sascha Schumann

Finish fopen-wrappers rename.


# 637e8e14 15-Feb-2001 Sascha Schumann

There might be more systems which do not support chroot, so we check
for the existence of it.

Additionally, if chroot is not supported, the warn_not_available function
is invoked now.


# 8cef8a9c 15-Feb-2001 Derick Rethans

- chroot does not work on windows


# 2648283b 14-Feb-2001 Derick Rethans

- Added an extra chdir("/"); as sugested by Sascha


# 4a54a15f 14-Feb-2001 Derick Rethans

- Added the chroot function for changing root in a script.
#- This can be usefull when using PHP in a shell environment, or when PHP
# runs as CGI which needs a little more security


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1, php-4.0.4REL
# 86a1cace 16-Dec-2000 Andi Gutmans

- Make all places use MAXPATHLEN in the same way. It includes the
terminating NULL.


Revision tags: php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4
# 4ada3dd3 07-Dec-2000 Sascha Schumann

Hardcode all functions which are mentioned in the Large File Support Spec

http://ewe3.sas.com/standards/large.file/specs/api+.007.html


Revision tags: php-4.0.4RC3
# e314da89 04-Nov-2000 Andi Gutmans

- Fix build


# b80e71fd 04-Nov-2000 Thies C. Arntzen

fix #7573
closedir() now really close the directory - used to stay open 'cause the
default-directory resource was "remembered" for arg-less calls.


# 825457ae 29-Oct-2000 Thies C. Arntzen

update my email.


# f1dcb32c 25-Oct-2000 Andrei Zmievski

Use zend_register_list_destructors_ex() instead.


# 7b4983c8 20-Oct-2000 Andrei Zmievski

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destruc

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)

show more ...


12345678910