Commit Graph

2959 Commits

Author SHA1 Message Date
Dmitry Stogov
6c51ef721f Fixed bug #43491 (Under certain conditions, file_exists() never returns) 2008-01-29 14:25:07 +00:00
Scott MacVicar
352c3a7f1b Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.) 2008-01-28 16:08:14 +00:00
Dmitry Stogov
6847c18150 Added garbage collector 2008-01-22 09:29:29 +00:00
Greg Beaver
184e934511 use correct macro 2008-01-13 22:55:02 +00:00
Greg Beaver
e54eb5513e clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:17 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
21fb4c1030 apply correct fix for bug #43522
fix Unicode streams too this time
2007-12-29 10:50:12 +00:00
Hannes Magnusson
2ea5df33a7 Update the class method documentation links 2007-12-29 02:21:25 +00:00
Hannes Magnusson
003bb5ceaa MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.) 2007-12-27 02:11:05 +00:00
Derick Rethans
b95520c0fd - Fixed typo. 2007-12-18 10:52:59 +00:00
Ilia Alshanetsky
0b6a51e539 MFB: Fixed bug #43580 (removed bogus declaration of a non-existent
php_is_url() function)
2007-12-13 00:27:43 +00:00
Ilia Alshanetsky
d963eaffcc MFB: Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:19:20 +00:00
Dmitry Stogov
8dbae457d5 Fixed crash because of uninitialized SG(sapi_headers).mimetype 2007-12-03 16:04:47 +00:00
Jani Taskinen
38d7b36439 - No zval is stored here 2007-11-26 16:34:07 +00:00
Jani Taskinen
4fc4814012 - Fixed bug #43365 (Several enums have trailing commas) 2007-11-26 10:58:28 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Hannes Magnusson
1727c712b6 - Add support for optional values
- Add support for = as seperator
2007-11-20 22:42:47 +00:00
Jani Taskinen
ad9605a722 - Allow using full path to load modules using "extension" directive 2007-11-09 16:26:55 +00:00
Jani Taskinen
ae2b2b1465 - Added support for [HOST=www.example.com] sections
# Works the same way as PATH, just the SERVER_NAME is matched with these
2007-11-09 16:02:50 +00:00
Rob Richards
5f7ece064d fix non ipv6 enabled win build 2007-11-06 10:56:53 +00:00
Marcus Boerger
c26e0d8ee7 - MFB ws 2007-11-06 10:54:29 +00:00
Jani Taskinen
13171134f8 - Nuke unused variables 2007-11-01 17:32:10 +00:00
Jani Taskinen
eb1a26c8b2 - Fixed bug #43137 (rmdir() and rename() do not clear statcache) 2007-10-31 13:22:18 +00:00
Dmitry Stogov
5138a3b575 Fixed bug #42722 (display_errors setting ignored for E_PARSE and HTTP 500 page) 2007-10-18 13:12:01 +00:00
Edin Kadribasic
8b3bfa7cf7 MFB: Fix build 2007-10-12 08:08:02 +00:00
Elizabeth Marie Smith
9e0894fa21 MFB 2007-10-10 23:23:54 +00:00
Scott MacVicar
7ba8a98fd3 Fix expand_filepath when including relative files, ideally you should test you code... 2007-10-09 10:04:19 +00:00
Jani Taskinen
c1c60fb7e2 ws + cs 2007-10-09 08:40:25 +00:00
Robert Thompson
d5192b04a4 Fix for bug 41822. expand_filepath() will now return a relative path under the specific situation where getcwd() returns NULL and the file is still readable. As far as I have been able to tell, this fix only applies to the Solaris OS where files in directories with (--x) cannot getcwd(). 2007-10-09 02:41:14 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Antony Dovgal
277eb1feee ucnv_toUnicode() in ICU 3.8 requires target buffer size to be even, otherwise it bails out with U_ILLEGAL_ARGUMENT_ERROR
this commit fixes endless loop (due to the absence of error catching) and also fixes the cause of the error
2007-10-02 17:09:22 +00:00
Ilia Alshanetsky
6c4e9b52b9 MFB: Fixed bug #42785 (json_encode() formats doubles according to locale
rather then following standard syntax).
2007-10-01 15:25:01 +00:00
Ilia Alshanetsky
8c94e4045d MFB: Refactor code to make fixes for coverity issues #385 and #386 a bit
more obvious
2007-10-01 14:56:34 +00:00
Jani Taskinen
44cbb46246 - Added common getopt implementation to core.
- Added long-option feature to getopt().
- Made getopt() available on win32 systems.
Patch by: David Soria Parra <dsp@php.net>
[DOC]: These changes will be available from 5.3+
2007-10-01 12:32:39 +00:00
Jani Taskinen
69eafc407f - Fix warning 2007-10-01 12:26:55 +00:00
Jani Taskinen
0d0117bfdf - Fix win32 build. 2007-09-28 10:23:14 +00:00
Jani Taskinen
f964370a35 - Added ".htaccess" style user-defined php.ini files support for
CGI/FastCGI.
- Added support for special [PATH=/opt/httpd/www.example.com/] sections
  in php.ini. All directives set in these sections will not be able to be
  overridden in user-defined ini-files or during runtime in the specified
  path.

- Improved php.ini handling:
  . Added better error reporting for syntax errors in php.ini files
  . Allowed "ini-variables" to be used almost everywhere ini php.ini files
  . Allowed using alphanumeric/variable indexes in "array" ini options
  . Fixed get_cfg_var() to be able to return "array" ini options

- Fixed bug #27372 (parse error loading browscap.ini at apache startup)
- Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric
  characters)

@DOC Pierre promised to handle the manual part of this :D
2007-09-28 02:04:28 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
38673d1f6f Fixed crash on POST request after dl("mbstring.so") 2007-09-24 11:53:57 +00:00
Antony Dovgal
e69a0b7533 check for NULL (coverity issue #386) 2007-09-21 14:11:45 +00:00
Stanislav Malyshev
f9d32b3685 MFB: disallow setting mail.force_extra_parameters from .htaccess 2007-09-13 20:06:15 +00:00
Derick Rethans
f009a49ff4 - We have to store the original (allocated) pointer here as it was freed after
the pointer itself was modified, otherwise we'll get an invalid free error
  here.
2007-09-04 11:19:33 +00:00
Jani Taskinen
891a4478f2 ws 2007-08-31 08:35:07 +00:00
Jani Taskinen
210c7781fc ws fixes 2007-08-31 08:13:07 +00:00
Jani Taskinen
31dd0907c0 ws + apify cfg_get_entry 2007-08-31 08:09:41 +00:00
Jani Taskinen
239fd2f36f - Moved the php.ini related function protos where they belong 2007-08-31 07:47:41 +00:00
Jani Taskinen
55956bb99b ws 2007-08-31 07:43:28 +00:00
Derick Rethans
a416772467 - Fixed allow_url_fopen_list/allow_url_include_list handling by making sure
the pointers are initialized. Thanks to Sara.
2007-08-28 12:12:02 +00:00
Stanislav Malyshev
201388e5ab fix proto 2007-08-16 23:53:40 +00:00
Antony Dovgal
7390cf6e22 resolve dir before calling mktemp/mkstemp
this is tested by ext/standard/tests/file/tempnam_variation2.phpt
2007-08-10 10:13:07 +00:00