summaryrefslogtreecommitdiff
path: root/main/safe_mode.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed safe_modeKalle Sommer Nielsen2010-04-261-276/+0
| | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* * Pass TSRMLS_C around pageinfo.cKalle Sommer Nielsen2010-04-131-6/+6
| | | | * Use zend_parse_parameters_none() in pageinfo.c
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - Removed unused variable.Felipe Pena2008-07-241-1/+0
|
* - Fixed securities issue detailed in CVE-2008-2665 and CVE-2008-2666.Felipe Pena2008-07-211-8/+0
| | | | | (patch by Christian Hoffmann)
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* Completed fix for bug #42739 (fixes bug #43276)Ilia Alshanetsky2007-11-151-3/+10
|
* - fix typoJani Taskinen2007-10-111-5/+4
|
* - Fix ws/cs and wrap the stuff within #if HAVE_BROKEN_GETCWDJani Taskinen2007-10-111-7/+9
|
* Fix for bug 41899, safe mode and relative paths with Solaris's broken getcwd().Robert Thompson2007-10-101-1/+9
|
* Fixed bug #42739 (mkdir() doesnt like a trailing slash when safe_mode isIlia Alshanetsky2007-09-231-1/+1
| | | | | enabled).
* MFH: Fixed compile warningsJani Taskinen2007-07-211-2/+3
|
* TypoHannes Magnusson2007-01-121-1/+1
|
* Fixed bug #40098 (php_fopen_primary_script() not thread safe).Ilia Alshanetsky2007-01-121-3/+7
| | | | | Adjusted previous fixes for similar issue to handle sysconf() failures
* Fixed bug #40079 (php_get_current_user() not thread safe).Ilia Alshanetsky2007-01-091-0/+15
| | | | | # Original patch from wharmby at uk dot ibm dot com
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* fix #39575 (move_uploaded_file() no longer working (safe mode related))Antony Dovgal2006-11-221-1/+3
|
* Simplify the code base as this getpwd() was used only onceDmitry Stogov2006-11-101-9/+22
|
* add const keywordsNuno Lopes2006-07-011-2/+2
|
* no need to do TSRMLS_FETCH() twiceAntony Dovgal2006-06-011-2/+0
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Do not silently truncateStefan Esser2004-12-011-3/+5
|
* NetWare don't have uid for a file so modified the php_checkuid to return 1 ↵Anantha Kesari H Y2004-09-291-0/+5
| | | | for NetWAre
* - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()Andi Gutmans2004-07-191-2/+2
| | | | | | | | | | | | | | | used to return "" and not bool(false). It's not worth keeping it because STR_FREE() and zval_dtor() always have to check for it and it slows down the general case. In addition, it seems that empty_string has been abused quite a lot, and was used not only for setting zval's but generally in PHP code instead of "", which wasn't the intention. Last but not least, nuking empty_string should improve stability as I doubt every place correctly checked if they are not mistakenly erealloc()'ing it or calling efree() on it. NOTE: Some code is probably broken. Each extension maintainer should check and see that my changes are OK. Also, I haven't had time to touch PECL yet. Will try and do it tomorrow.
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Fix for Bug #21310, based on a patch by jflemer@php.net.Wez Furlong2003-03-171-0/+5
|
* ws fixes + missing $Id$ tags, headers addedfoobar2003-02-191-0/+1
|
* Fixed compiler warnings.Ilia Alshanetsky2003-01-091-4/+4
|
* Bug #21531 file_exists() and other filestat functions throw errors when in ↵Sara Golemon2003-01-091-11/+23
| | | | | | | safe mode and file/directory does not exist. Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Instead of checking whether realpath exists based on OS. Use theIlia Alshanetsky2002-11-061-4/+0
| | | | | | HAVE_REALPATH define, which is set if realpath() is avaliable. This patch also resolves bug #18868.
* Add some more BeOS support.David Reid2002-10-021-0/+3
|
* use php_error_docref()Marcus Boerger2002-08-251-5/+5
|
* Enhance Ilia's recent patch to query the wrapper subsystem to determineWez Furlong2002-08-161-2/+3
| | | | | if a filename is a URL and thus if safe-mode checks should be skipped.
* Make https:// be exempt from safe_mode checks, just like http:// & ftp:// are.Ilia Alshanetsky2002-08-161-1/+1
|
* Accoding to safe_mode.h, php_checkuid() has six modes.Yasuo Ohgaki2002-07-171-1/+3
|
* Fix bug: #18285, php_checkuid() mangled the passed path.foobar2002-07-131-3/+6
|
* SAFE_MODE restriction error message fixed if the file doesn't existStefan Esser2002-03-171-1/+9
|
* fixed a typo within checkuidStefan Esser2002-03-141-2/+2
|
* (php_checkuid) Added case for root directory when mode isJames E. Flemer2002-03-031-1/+4
| | | | | not CHECKUID_ALLOW_ONLY_DIR.
* (php_checkuid) Added case for root directory when mode isJames E. Flemer2002-03-031-1/+5
| | | | | CHECKUID_ALLOW_ONLY_DIR.
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* - TSRMLS_FETCH workZeev Suraski2001-08-051-3/+3
| | | | | - whitespace fixes
* More TSRMLS_FETCH work. Got it under 400 now.Zeev Suraski2001-07-311-1/+1
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-3/+3
|