Commit Graph

2917 Commits

Author SHA1 Message Date
Dmitry Stogov
3ffc1c8f4a Default memory_limit value is set to 128M 2006-12-21 09:12:42 +00:00
Antony Dovgal
6aec52bde7 MFH 2006-12-21 01:18:28 +00:00
Antony Dovgal
f807343197 MFH 2006-12-21 01:08:04 +00:00
Antony Dovgal
41b55d9b78 MFH 2006-12-21 00:47:02 +00:00
Dmitry Stogov
53b088e60c Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M. 2006-12-20 10:49:33 +00:00
Hannes Magnusson
1e19ee8785 - Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:34:36 +00:00
Antony Dovgal
4307af8cdf MFH 2006-12-19 13:27:09 +00:00
Antony Dovgal
c34d863d3e MFH 2006-12-19 13:15:39 +00:00
Dmitry Stogov
5d8183f0b2 Support for systems without locale.h 2006-12-19 13:13:29 +00:00
Dmitry Stogov
c43fc2afc8 Fixed bug #39815 (SOAP double encoding is not locale-independent) 2006-12-19 11:54:38 +00:00
Dmitry Stogov
03312cc0d9 Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection 2006-12-19 08:58:58 +00:00
Antony Dovgal
908b1e562d MFH: fix possible invalid read (reproducible only on big-endian machines) 2006-12-18 13:16:54 +00:00
Zeev Suraski
9219d7aa57 Whitespace 2006-12-18 12:32:08 +00:00
Hannes Magnusson
9ef3575c25 MFH:
- make %f locale aware again
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:26:54 +00:00
Ilia Alshanetsky
e8bc39d95d Fixed compiler warning 2006-12-17 18:30:36 +00:00
Ilia Alshanetsky
195b102126 back to dev 2006-12-15 01:22:35 +00:00
Ilia Alshanetsky
0ee7c30453 5.2.1RC1 2006-12-15 01:21:36 +00:00
Ilia Alshanetsky
847741cb08 Strip leading spaces from cookie names, that can come from multi-cookie
headers where ; can be followed by any number of spaces.
2006-12-09 13:01:23 +00:00
Antony Dovgal
4d44a5b71d MFH: use BSD licensed implementation of double-to-string utilities instead of LGPL one
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:52:51 +00:00
Stanislav Malyshev
6b651f8e60 Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
# Gives 10-18% speedup on bench.php
# Does not change behaviour for non-windows
2006-12-04 18:37:15 +00:00
Antony Dovgal
bcf457d828 MFH: fix retval type 2006-12-04 15:58:48 +00:00
Ilia Alshanetsky
b71ac5063e Fixed php_readdir_r() usage in scandir emulation 2006-12-03 15:52:17 +00:00
Antony Dovgal
361c8b4fb4 MFH 2006-12-03 14:37:32 +00:00
Frank M. Kromann
a6b3682dba Fix win32 build 2006-12-01 20:17:50 +00:00
Ilia Alshanetsky
930ac9a5d0 Thread-safety issues 2006-11-30 16:10:38 +00:00
Antony Dovgal
60bb494607 MFH: fix #39673 (file_get_contents causes bus error on certain offsets) 2006-11-29 11:12:59 +00:00
Dmitry Stogov
79c3defac0 Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows) 2006-11-23 08:37:21 +00:00
Antony Dovgal
a7ce772222 fix #39575 (move_uploaded_file() no longer working (safe mode related)) 2006-11-22 11:55:36 +00:00
Antony Dovgal
090a83b974 ensure that bucket->brigade is NULL in newly created bucket 2006-11-21 20:58:17 +00:00
Dmitry Stogov
c06f9e1efe COM initialization/deinitialization are done only if necessary 2006-11-17 11:40:52 +00:00
Hannes Magnusson
133bdb42e3 Fix ftruncate() with negative size on FreeBSD 2006-11-16 16:06:51 +00:00
Dmitry Stogov
daed379550 Removed unnecessary ftell() calls (one call for each included PHP file) 2006-11-10 13:18:35 +00:00
Dmitry Stogov
f22ae56bc9 Disabled reading from stream (calls to read()) after EOF 2006-11-10 13:10:16 +00:00
Dmitry Stogov
532b02cd19 Implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic. 2006-11-10 11:42:07 +00:00
Dmitry Stogov
41c81f20e1 opendir() is reimplemented using GetFistFile/GetNextFile those are faster then _findfirst/_findnext 2006-11-10 11:20:48 +00:00
Dmitry Stogov
a5f951f27c Removed unnecessary checks for ISREG file and corresponding stat() calls on Windows 2006-11-10 10:55:26 +00:00
Dmitry Stogov
9fd2b6deb4 Simplify the code base as this getpwd() was used only once 2006-11-10 09:56:16 +00:00
Rasmus Lerdorf
c8778c73c3 Mark memory streams as is_url 2006-11-04 20:43:28 +00:00
Marcus Boerger
17b675132b - Fix version 2006-11-03 19:03:25 +00:00
Ilia Alshanetsky
8045c6bff8 Back to dev 2006-10-30 23:08:30 +00:00
Ilia Alshanetsky
b48fa87e8b 5.2.0 2006-10-30 23:06:22 +00:00
Ilia Alshanetsky
2ca717905e Back to dev 2006-10-20 13:15:35 +00:00
Ilia Alshanetsky
f85d9885d3 5.2.0RC6 2006-10-20 01:51:07 +00:00
Dmitry Stogov
770b29803c Fixed mkdir("/tmp/foo//bar/log", 0777, true) 2006-10-19 09:49:44 +00:00
Ilia Alshanetsky
8bd16e2b58 Improve open_basedir checks 2006-10-13 01:11:30 +00:00
Sara Golemon
d8fc0ccfe1 MFH(r-1.38) Bugfix 38648: Don't assume all buckets are part of a brigade 2006-10-11 23:11:26 +00:00
Antony Dovgal
1cc0339d40 MFH: fix crash when parsing invalid hostnames/IPs 2006-10-11 12:53:56 +00:00
Ilia Alshanetsky
7f75be9fb9 back to dev 2006-10-06 21:36:07 +00:00
Ilia Alshanetsky
9ebb3f127e 5.2.0RC5 2006-10-05 19:49:03 +00:00
Ilia Alshanetsky
557838efa4 Last set of zend_hash_init() optimizations 2006-10-03 19:51:01 +00:00
Stefan Esser
abfc08dc82 If one name is disallowed don't drop all files 2006-09-29 10:05:34 +00:00
Antony Dovgal
646cfe11e1 MFH 2006-09-28 08:26:33 +00:00
Dmitry Stogov
dbae50bf13 Fixed wrong pipe detection code 2006-09-28 07:26:02 +00:00
Ilia Alshanetsky
5860f47122 Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). 2006-09-27 23:44:13 +00:00
Ilia Alshanetsky
ccc25cc3eb Fixed bug #38904 (apache2filter changes cwd to /). 2006-09-25 14:48:33 +00:00
Dmitry Stogov
7d14dad02e MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). 2006-09-19 20:33:12 +00:00
Stefan Esser
1e8fc23095 Delete empty temporary files if file upload hook forbids the upload 2006-09-19 11:34:19 +00:00
Ilia Alshanetsky
fe6effeeb4 Avoid generating php_errormsg twice in some instances. 2006-09-18 23:08:36 +00:00
Ilia Alshanetsky
5aa6dcc6c8 Fixed memory leak on require() error 2006-09-18 03:29:21 +00:00
Antony Dovgal
99b133d7a7 MFH: fix double free(), add test 2006-09-15 07:27:22 +00:00
Ilia Alshanetsky
7bf39e9212 Back to dev 2006-09-14 18:04:40 +00:00
Ilia Alshanetsky
b5446194ec PHP 5.2.0RC4 2006-09-14 17:49:12 +00:00
Dmitry Stogov
2604f21fa6 Removed unused macro USE_ZEND_ALLOC 2006-09-14 09:58:27 +00:00
Ilia Alshanetsky
f0fd70fadb Fixed bug #37779 (empty include_path leads to search for files inside /). 2006-09-12 15:47:25 +00:00
Sara Golemon
93c8a45083 MFH: Bug #38687 - sockaddr local storage insufficient for all sock families 2006-09-11 19:18:07 +00:00
Antony Dovgal
9fa594c2dd fix coverity issue #197
"I can't think of a reason to pass a NULL buf" (c) Wez
2006-09-10 13:01:37 +00:00
Rasmus Lerdorf
935b0c88e9 Minor tweak to the file upload hooks. The MULTIPART_EVENT_FORMDATA event
was only triggering when an input filter was applied.  This simple change
makes the event also trigger when no filter is applied.  The newlength
pointer is set to NULL to let a downstream module differentiate between
the two cases.
2006-09-09 22:06:27 +00:00
Edin Kadribasic
ef058cdd9a Search for php.ini in CWD in all sapi's *but* CLI.
This patch reverses wrong behavaiour introduced before the
release of 5.1.0.

# We should probably consider killing adding CWD php.ini lookup
# altogether.
2006-09-05 11:54:15 +00:00
Dmitry Stogov
75876d57be Fixed VIRTUAL_DIR inconsistency 2006-09-04 08:18:15 +00:00
Ilia Alshanetsky
4427552b60 Fixed bug #38661 (mixed-case URL breaks url-wrappers). 2006-09-03 16:32:27 +00:00
Ilia Alshanetsky
73eba86360 Back to dev 2006-09-01 01:29:05 +00:00
Ilia Alshanetsky
98d26b6b18 5.2.0RC3 2006-09-01 01:06:14 +00:00
Antony Dovgal
4e971e8874 MFH: fix #38199 (fclose() unable to close STDOUT and STDERR) 2006-08-28 17:15:03 +00:00
Andrei Zmievski
fdd1370d99 Namespace more PCRE functions. 2006-08-23 20:39:11 +00:00
Dmitry Stogov
7dfbf5b2e4 Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32) 2006-08-22 06:15:26 +00:00
Ilia Alshanetsky
d7209229a3 Back to dev 2006-08-17 14:04:09 +00:00
Ilia Alshanetsky
c7d83d7ba3 5.2.0RC2 2006-08-17 13:44:36 +00:00
Ilia Alshanetsky
3a211712eb Increased default memory limit to 16 megabytes to accommodate for a more
accurate memory utilization measurement.
2006-08-17 13:43:08 +00:00
Antony Dovgal
f42e9f5e15 MFH: fix #38450 (constructor is not called for classes used in userspace stream wrappers) 2006-08-14 15:01:29 +00:00
Nuno Lopes
a16935fd42 const/static keywording 2006-08-12 19:33:54 +00:00
Dmitry Stogov
c946b4d1b2 In addtion to path to php.ini, PHPRC now may specify full file name 2006-08-03 11:04:52 +00:00
Ilia Alshanetsky
cfda15ffc1 Binary safe multipart request handling 2006-07-27 17:04:15 +00:00
Ilia Alshanetsky
7ba86d078f Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST). 2006-07-27 15:37:56 +00:00
foobar
7625313f9c MFH: - Added PHP_VERSION_ID == PHP_VERSION as integer. 2006-07-27 08:53:16 +00:00
Antony Dovgal
e1dfc4259f eliminate compilation warnings on AIX 2006-07-26 13:22:06 +00:00
Ilia Alshanetsky
7fdcd281c6 back to dev 2006-07-24 18:53:01 +00:00
Ilia Alshanetsky
5e24aedf46 5.2.0RC1 2006-07-24 18:51:31 +00:00
Stefan Esser
cfac29e20e Added RFC1867 fileupload processing hook. 2006-07-22 16:38:29 +00:00
Michael Wallner
46f21b8a32 MFH: added error_get_last() function 2006-07-19 12:25:46 +00:00
Dmitry Stogov
29ed52ffa4 New memory manager 2006-07-18 09:06:33 +00:00
Dmitry Stogov
d68797945a Fixed memory leaks in ZTS mode. 2006-07-17 07:20:12 +00:00
Antony Dovgal
19a9052d6e fix build 2006-07-13 17:03:35 +00:00
Ilia Alshanetsky
9c125eeb27 Fixed compiler warnings. 2006-07-13 15:05:30 +00:00
Antony Dovgal
4902fc6c25 MFH: fix #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length)
add tests
2006-07-13 12:00:17 +00:00
Nuno Lopes
8b139b654d static + const keywords 2006-07-07 23:32:14 +00:00
Dmitry Stogov
acb1e07980 Changed priority of PHPRC environment variable on win32 to be higher then value from registry. 2006-07-04 06:35:49 +00:00
Nuno Lopes
7961207d6b add const keywords 2006-07-01 11:35:34 +00:00
Hannes Magnusson
7a6fe06e4b url->URL 2006-06-29 14:40:49 +00:00
Hannes Magnusson
c4154145df MFH: plug memleak 2006-06-20 18:09:50 +00:00
Rasmus Lerdorf
6bfeea9eb9 MFH: Backported allow_url_include from HEAD. This directive allows
separate control of URL handling in includes/requires allowing sites to
enable allow_url_fopen without enabling remote includes.
2006-06-16 14:09:01 +00:00
Dmitry Stogov
60328ea7c3 Added automatic module globals management 2006-06-15 14:06:35 +00:00
Antony Dovgal
2f26d8d7ae MFH: don't leak when decoding failed 2006-06-06 14:09:12 +00:00
Antony Dovgal
073ee1397a MFH: no need to check if non-existing include_path complies with open_basedir setting 2006-06-05 22:39:50 +00:00
Edin Kadribasic
8b764bd08c Fixed bug #35886 (nlopes) 2006-06-05 22:19:36 +00:00
Stanislav Malyshev
1ebb0590bd improve .dsp build 2006-06-05 09:02:28 +00:00
Antony Dovgal
fbeb246a3a no need to do TSRMLS_FETCH() twice 2006-06-01 14:06:23 +00:00
Andrei Zmievski
b8ebfce9af Revert accidentally committed internal patch 2006-05-31 21:48:43 +00:00
Andrei Zmievski
1f04ac91b0 MFB 2006-05-31 17:18:08 +00:00
Edin Kadribasic
58962c7371 Missing definition, patch by Steph Fox 2006-05-25 18:47:21 +00:00
Edin Kadribasic
740d39454b Initialize windows globals, fixes #37428 2006-05-24 22:00:15 +00:00
Ilia Alshanetsky
cd8c7a3e09 Fixed handling of extremely long paths inside tempnam() function. 2006-05-23 23:22:04 +00:00
Marcus Boerger
59d2ce8258 - MFH Fix feof() 2006-05-23 22:31:25 +00:00
Marcus Boerger
e145343b57 - MFH Handle corrupt base64 data in data: url 2006-05-21 13:37:19 +00:00
Antony Dovgal
6557578657 MFH: initialize factory 2006-05-19 10:24:05 +00:00
Dmitry Stogov
14f6b9149d Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:09:15 +00:00
Antony Dovgal
3a830a30f4 fix #37395 (recursive mkdir() fails to create nonexistent directories in root dir) 2006-05-16 13:05:02 +00:00
Ilia Alshanetsky
cccb406ee8 Disable realpath cache when open_basedir or safe_mode are enabled on a
per-request basis.
2006-05-16 00:39:32 +00:00
Marcus Boerger
5d43fe49f7 - MFH No need to have this controlled by allow_url_fopen 2006-05-14 19:15:31 +00:00
Marcus Boerger
3577115118 - MFH Add strict compliant RFC2397 support (no //) 2006-05-14 18:40:12 +00:00
Marcus Boerger
5b44266a5f - MFH RFC2397 decoding 2006-05-14 01:42:03 +00:00
Marcus Boerger
0c09d4cb63 - MFH RFC 2397 meta data handling 2006-05-14 01:06:09 +00:00
Marcus Boerger
2100a86198 - MFH Initial support for RFC2397 2006-05-13 17:58:58 +00:00
Dmitry Stogov
1f41b288e9 Fixed bug #37306 (max_execution_time = max_input_time) 2006-05-11 22:10:31 +00:00
Marcus Boerger
f7776502b5 - MFH Fix error mode handling 2006-05-11 07:56:36 +00:00
Rasmus Lerdorf
4df7ab403c Add input_filter hook call in getenv() 2006-05-10 21:19:32 +00:00
Rasmus Lerdorf
cbb11e018a Now that ext/filter is bundled, we should be defining these in one place 2006-05-10 21:10:45 +00:00
Antony Dovgal
8a03fc5ef3 add missing parts of E_RECOVERABLE merge 2006-05-10 14:04:18 +00:00
Marcus Boerger
c018b83003 - MFH %v for s[np]printf 2006-05-07 12:40:17 +00:00
Ilia Alshanetsky
89e3ac9531 Creation of the 5.2 branch 2006-05-06 21:58:03 +00:00
Ilia Alshanetsky
5649f24524 Back to dev 2006-05-03 23:31:43 +00:00
Ilia Alshanetsky
87583528c6 go with 5.1.4 2006-05-03 23:30:02 +00:00
Dmitry Stogov
efad37874b Fixed bug #37276 (problems witch $_POST array) 2006-05-03 11:24:29 +00:00
Ilia Alshanetsky
0c54f6f72b Restore dev 2006-04-26 16:07:11 +00:00
Ilia Alshanetsky
ca2efe468d Go with 5.1.3 2006-04-26 14:08:26 +00:00
Wez Furlong
8663f1644d fix for #37158 2006-04-22 17:17:40 +00:00
Ilia Alshanetsky
ee103a7c39 Back to dev 2006-04-20 23:09:20 +00:00
Ilia Alshanetsky
50e1a51e5c Prepare for RC3 2006-04-20 21:11:29 +00:00
Michael Wallner
f7a6327728 - Fix reading stream filters never notified about EOF 2006-04-20 17:43:18 +00:00
Ilia Alshanetsky
7315288591 Restore dev so win32 snaps can build 2006-04-18 23:47:10 +00:00
Dmitry Stogov
73e4913cca Fixed memory leaks 2006-04-18 06:58:43 +00:00
Antony Dovgal
d23c1d763b fix #37053 (html_errors with internal classes produces wrong links) 2006-04-12 12:49:39 +00:00
foobar
8cd558757f MFH: - Silence some PCRE compile warnings 2006-04-10 11:55:14 +00:00
Andrei Zmievski
9e5655387a MFH 2006-04-08 17:53:11 +00:00
Ilia Alshanetsky
5151efc2aa RC3 2006-04-07 14:21:13 +00:00
Dmitry Stogov
e9d452b9a9 Optimization 2006-04-07 13:57:27 +00:00
Dmitry Stogov
ead7652457 We don't need setup the same time-out two times. 2006-04-07 11:44:03 +00:00
Ilia Alshanetsky
46ba651680 MFH:
Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
2006-04-02 17:58:17 +00:00
Ilia Alshanetsky
7385433f34 Back to dev 2006-03-30 19:40:16 +00:00
Ilia Alshanetsky
0e07f0b117 Go with RC2 2006-03-30 19:19:20 +00:00
Antony Dovgal
2030a7a2ed fix #36869 (memory leak in output buffering when using chunked output) 2006-03-27 08:26:10 +00:00
Dmitry Stogov
658ac96cfa Fixed bug #36809 (__FILE__ behavior changed) 2006-03-21 08:49:42 +00:00
Dmitry Stogov
d355704998 Fixed register_argc_argv behavior. Now it behave in the same way as before in all combinations with register_globals, register_long_arrays, variables_order and auto_globals_jit. 2006-03-20 10:15:02 +00:00
Antony Dovgal
ef1f36e2c1 first check stream for NULL, then dereference 2006-03-19 22:33:10 +00:00
Marcus Boerger
fa922fb51c - MFH Fix seek/eof issue in temp streams 2006-03-18 19:57:00 +00:00
Dmitry Stogov
63b3f5c041 Eliminated unnecessary getcwd() syscall 2006-03-17 10:42:31 +00:00
Dmitry Stogov
55159796b0 Allowed 'auto_globals_jit' work together with 'register_argc_argv' 2006-03-17 08:58:51 +00:00
Dmitry Stogov
98bacb0e21 Fixed bug #35988 (Unknown persistent list entry type in module shutdown) 2006-03-14 15:16:07 +00:00
Dmitry Stogov
d21669fc80 Fixed realpath() cache for main script with FastCGI SAPI 2006-03-13 09:35:45 +00:00
Brian France
6c4e9d30b9 MFH:
for the primary file only lookup the real file path and
        add it to the included_files list if already opened
        otherwise it will get opened and added to the included_files list in zend_execute_scripts
2006-03-10 18:19:29 +00:00
Sara Golemon
6dff869c51 MFH: Move temporary local storage of primary file's realpath up one block to ensure it stays on the stack. 2006-03-09 20:32:22 +00:00
Ilia Alshanetsky
fe13b8ef69 Back to dev 2006-03-09 14:22:59 +00:00
Ilia Alshanetsky
b04ecd08d2 5.1.3RC1 2006-03-09 14:12:15 +00:00
Michael Wallner
0aa24dc0a1 - remove declaration of non existant function php_treat_data 2006-03-08 08:43:25 +00:00
Alex Waugh
b8d26da1be MFH Fix for RISC OS 2006-03-07 22:37:53 +00:00
Colin Viebrock
e70571c251 fix logo (proper spacing between the letters) 2006-03-06 19:10:19 +00:00
Marcus Boerger
5a69b29082 - Warning fixes by Steph 2006-02-26 10:57:00 +00:00
Marcus Boerger
941b0651dc - MFH: Function deprecation flag 2006-02-25 18:25:45 +00:00
Dmitry Stogov
11187a40e0 Fixed bug #36205 (Memory leaks on duplicate cookies) 2006-02-13 12:18:16 +00:00
Dmitry Stogov
b179e081ab Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:31:59 +00:00
Sara Golemon
3a4a0e3cef MFH: Prevent bindport from being used uninitialized 2006-02-02 18:16:43 +00:00
Joe Orton
8c55d477d8 MFH: - Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc) 2006-02-01 13:52:46 +00:00
Marcus Boerger
9cb7d29f84 - MFH Bug #35978 %n format string specifier wrongly implemented 2006-01-24 20:59:46 +00:00
Ilia Alshanetsky
5f9dde24d8 Only report mkdir() errors if error reporting option is set. 2006-01-17 02:32:09 +00:00
Antony Dovgal
3062348c75 MFH: fix #35999 (recursive mkdir() does not work with relative path like "foo/bar") 2006-01-16 19:48:23 +00:00
Dmitry Stogov
4b1791a767 Fixed bug #36016 (realpath cache memleaks) 2006-01-16 09:12:22 +00:00
Ilia Alshanetsky
e731da3653 Back to dev 2006-01-12 15:24:10 +00:00
Ilia Alshanetsky
ad1bbaca04 5.1.2 2006-01-11 14:19:14 +00:00
Ilia Alshanetsky
778c635c40 Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to a crash). 2006-01-10 16:14:16 +00:00
Marcus Boerger
0d0f3e290b - Fix issue with memset seeking
- Fix issue with shutdown order of temp/memory stream
2006-01-05 22:03:07 +00:00
Ilia Alshanetsky
c4790e3a9e Back to dev 2006-01-05 21:36:05 +00:00
Ilia Alshanetsky
32dc6ee526 Go with 5.1.2RC2 2006-01-05 18:36:24 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
c5b9552891 MFH: typofix 2005-12-30 05:40:43 +00:00
Marcus Boerger
22ee7f8e3e - MFH Support full range of floats 2005-12-26 14:46:49 +00:00
Marcus Boerger
ec1a7e02d4 - SWH (WS + memory corruption fix) 2005-12-26 13:41:58 +00:00
Ilia Alshanetsky
e18a1d7c08 Back to dev 2005-12-23 14:42:49 +00:00
Antony Dovgal
248be6fcfc fix #35781 (stream_filter_append() can cause segfault) 2005-12-23 14:32:11 +00:00
Ilia Alshanetsky
7c17499079 5.1.2RC1 2005-12-22 14:17:56 +00:00
Ilia Alshanetsky
cd82349b9e Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any
string greater then 255 characters).
2005-12-20 14:24:24 +00:00
Antony Dovgal
aec3b4e73c fix #35740 (memory leak when including a directory) 2005-12-20 09:47:57 +00:00
Zeev Suraski
59dc41f761 Fix prototype 2005-12-18 15:38:08 +00:00
Wez Furlong
b041abbb4e Fixes for building with vs.net 2005. 2005-12-14 02:01:13 +00:00
Marcus Boerger
71c7cdb7d9 - Fix temp/memory stream modes 2005-12-14 00:06:09 +00:00
Ilia Alshanetsky
2796160d15 Better critical error handling (fix for previous html encoding patch). 2005-12-07 02:37:05 +00:00
Ilia Alshanetsky
481ec28566 Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if
display_startup_error is off).
2005-12-06 23:32:06 +00:00
Ilia Alshanetsky
f2415625d4 MFH: Prevent header injection by limiting each header to a single line. 2005-12-06 03:39:45 +00:00
Ilia Alshanetsky
aa1b0709f2 Fixed possible XSS inside error reporting functionality. 2005-12-06 03:09:24 +00:00
foobar
d95275052b MFH 2005-12-06 01:08:49 +00:00
foobar
a3af52c11e MFH: list_entry -> zend_rsrc_list_entry 2005-12-05 23:38:04 +00:00
foobar
ee372651d0 MFH: fix bug #35528 2005-12-03 01:23:25 +00:00
Ilia Alshanetsky
4320984303 Back to dev 2005-11-27 17:29:54 +00:00
Ilia Alshanetsky
93608bf8a5 5.1.1 2005-11-27 14:19:40 +00:00
Ilia Alshanetsky
363b0ce10b Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x). 2005-11-25 00:02:16 +00:00
Ilia Alshanetsky
4dbac17f9c Back to dev 2005-11-23 21:25:37 +00:00
Ilia Alshanetsky
e0ded79c0f Rolling 5.1.0 2005-11-23 20:53:33 +00:00
foobar
25558ffdbb back to dev 2005-11-18 09:51:44 +00:00
Ilia Alshanetsky
4ba37d04d4 RC6 2005-11-17 21:27:58 +00:00
Antony Dovgal
1a78dc5fbf MFH: fix #35079 (stream_set_blocking(true) toggles, not enables blocking)
patch by askalski at gmail dot com
2005-11-17 14:19:40 +00:00
Ilia Alshanetsky
f1a8fde76a back to dev 2005-11-16 15:41:59 +00:00
Ilia Alshanetsky
209169786a 5.1.0RC5 2005-11-16 14:18:11 +00:00
Dmitry Stogov
8c100e6451 Fixed bug #35176 (include()/require()/*_once() produce wrong error messages about main()) 2005-11-15 11:13:43 +00:00
foobar
261eabbdd4 MFH 2005-11-06 22:08:30 +00:00
Michael Wallner
496fd1c041 - sapi_header_op(SAPI_HEADER_(REPLACE|ADD), {NULL, 0, 0}) caused HTTP response splitting
- sapi_send_headers() already takes care of default_content_type (left over of fix for bug #29983)
2005-11-02 14:38:13 +00:00
Ilia Alshanetsky
435b820f68 Fixed minor memory leak triggered by: -dzlib.output_compression=1 -m 2005-11-01 22:59:18 +00:00
Ilia Alshanetsky
fad0caaee9 Back to dev 2005-10-28 15:45:05 +00:00
Ilia Alshanetsky
721fec251b 5.1.0RC4 2005-10-28 15:00:49 +00:00
Wez Furlong
890f7f46b4 Fix #34957; file access checks should use VCWD_ACCESS() 2005-10-22 17:02:10 +00:00
Ilia Alshanetsky
382bc9d0e4 MFH: Fixed bug #29983 (PHP does not explicitly set mime type & charset). 2005-10-19 20:33:33 +00:00
Ilia Alshanetsky
cdbf1938f2 Back to dev 2005-10-17 22:24:42 +00:00
Ilia Alshanetsky
f133b09907 5.1.0RC3 2005-10-17 20:26:13 +00:00
Ilia Alshanetsky
e6566d9477 Back to dev 2005-10-14 15:30:26 +00:00
Ilia Alshanetsky
a03039bade Prepare for 5.1RC2 2005-10-14 13:36:35 +00:00
Rob Richards
b551a55bca MFH: PHP_CONFIG_FILE_PATH needs to use strlen() due to Win build 2005-10-10 02:26:56 +00:00
Marcus Boerger
6b0de601be - MFH C vs. C++ fix 2005-10-07 07:38:59 +00:00
Marcus Boerger
35c82a75eb - MFH Fix issue (endless loop) with temp/memory streams 2005-10-06 21:31:25 +00:00
Ilia Alshanetsky
1a04335ec2 MFH: Fixed possible GLOBALS variable override when register_globals are ON.
MFH: Fixed possible register_globals toggle via parse_str().
MFH: Fixed negative offset handling in substr_compare() function.
2005-09-28 22:39:52 +00:00
Ilia Alshanetsky
72857b6dbb MFH: Fixed bug #32937 (open_basedir looses trailing / in the limiter). 2005-09-27 15:07:49 +00:00
Derick Rethans
7199bc5f86 - MFH: Fixed bug #34052 (date('U') returns %ld not unix timestamp). 2005-09-15 19:11:15 +00:00
Derick Rethans
a5f0cbed44 - Fixed shutdown order before RC2. 2005-09-14 20:08:31 +00:00
Derick Rethans
7262ccfac9 - Fix version numbers as discussed to help version_compare for the PEAR folks. 2005-09-10 15:44:17 +00:00
foobar
1890173d8c Revert 2005-09-02 14:05:46 +00:00
foobar
96873fecef it is good idea to return something always 2005-09-02 08:24:14 +00:00
Ilia Alshanetsky
5f8809907a MFH: Fixed bug #34331 (php crashes when variables_order is empty). 2005-09-01 19:15:19 +00:00
foobar
64cfbf539f MFH: - Fixed bug #34307 (OnUpdateStringUnempty INI options can be set empty) 2005-09-01 14:44:15 +00:00
Derick Rethans
b842d8e3d8 - MFH: Fixed a bug where stream_get_meta_data() did not return the "uri"
element for files opened with tmpname().
2005-08-26 12:56:07 +00:00
Ilia Alshanetsky
30b14ee8e9 MFH: Remainder of the 34191 bug fix. 2005-08-24 16:19:57 +00:00
foobar
5516735c88 MFH 2005-08-17 07:54:07 +00:00
Marcus Boerger
e8b05734be - Prevent E_STRICT from ending up as exception 2005-08-16 18:10:34 +00:00
Zeev Suraski
23d4f9882f Go back to dev 2005-08-16 12:01:42 +00:00
Zeev Suraski
2c6d0f8c48 Roll RC1 2005-08-16 10:59:56 +00:00
Rasmus Lerdorf
ba8cfb4a93 Minor consistency cleanup 2005-08-10 23:33:10 +00:00
Andi Gutmans
eeecc8a015 - No release today. Found a critical bug... 2005-08-09 05:40:56 +00:00
Andi Gutmans
01d8e59d3b - RC1 2005-08-09 05:08:59 +00:00
SVN Migration
4571221d8e This commit was manufactured by cvs2svn to create branch 'PHP_5_1'. 2005-08-08 23:59:05 +00:00
foobar
000a9e3015 - Fixed problem with -dextension=foobar.so not having it's MINIT run. 2005-08-08 16:49:44 +00:00
Hartmut Holzgraefe
47ae4b0cb9 typo fix 2005-08-07 15:13:50 +00:00
foobar
8864ad2606 - This ini option is only effective when set in php.ini or httpd.conf
or .htacces, etc. as GPC variables are set before any ini_set() is called
2005-08-05 21:44:26 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
990f7043d9 Fixed bug #33958 (duplicate cookies and magic_quotes=off may cause a crash) 2005-08-02 17:01:05 +00:00
Ilia Alshanetsky
22db404132 Fixed bug #33904 (input array keys being escaped when magic quotes is off). 2005-07-29 15:43:37 +00:00