Jani Taskinen
efe310579e
MFH: - Fixed bug #41815 (Concurrent read/write fails when EOF is reached)
2007-07-12 11:03:46 +00:00
Johannes Schlüter
dc8d09bbbd
- MFH: Always enable mail() function
2007-07-11 17:36:56 +00:00
Dmitry Stogov
5c28db4a9c
Fixed wrong warning
2007-07-11 14:33:30 +00:00
Jani Taskinen
7b016d72a1
MFH: No return values for void function
2007-07-11 10:24:04 +00:00
Stanislav Malyshev
6f1b3ea73a
suppress warnings to avoid potential loop
2007-07-10 17:58:19 +00:00
Stanislav Malyshev
84c9050805
check if write is allowed before writing to error log
2007-07-10 17:42:29 +00:00
Dmitry Stogov
ca854215db
Fixed symlink("", "somthing") and link("", "somthing") in ZTS mode
2007-07-10 13:21:11 +00:00
Dmitry Stogov
510bee631f
Fixed warning
2007-07-10 11:57:34 +00:00
Dmitry Stogov
539f67ed8f
Added ability to create local or remote (URL) user streams
...
Local user streams must not be able to open(), URLs if allow_url_include is off
Implemented new function stream_is_local()
[
- stream_wrapper_register() extended with additional optional argument "flags"
of type long. This time only one flag is implemented
- STREAM_IS_URL, that means that userstream wrapper is remote (URL).
By default stream is local.
- stream_is_local() is a new function that accepts stream and tell if this
stream is local or remote (URL)
]
2007-07-09 17:27:24 +00:00
Dmitry Stogov
aa54d9e385
Restore big exponent letter in var_export() ('1e300' -> '1E300')
2007-06-25 08:39:10 +00:00
Derick Rethans
3b481cef64
- MFH: Added the H modifier to create non-locale-aware non-fixed-precision
...
float representations.
- MFH: Fixed var_export() to use the new H modifier so that it can generate
parsable PHP code for floats again, independent of the locale.
2007-06-19 12:20:50 +00:00
Dmitry Stogov
e1f08c8297
HTTP 500 is sent to browser in case of PHP error instead of blank page
2007-06-15 09:20:27 +00:00
Dmitry Stogov
c2e04e8364
Prevent crash in case of wrong arguments to CRT functions (strftime()) on PHP complead by MS VC2005
2007-06-15 07:27:08 +00:00
Antony Dovgal
c9805e7b92
MFH: check return value of *time_r() functions for NULL
2007-06-07 08:44:41 +00:00
foobar
f26145fa8c
MFH:- Improved the error message for exceeding max_input_nesting_level.
2007-06-03 16:54:06 +00:00
Ilia Alshanetsky
a8be5f419d
Improved fix for MOPB-02-2007
2007-06-03 16:19:14 +00:00
Antony Dovgal
8e3eee385e
MFH: fix #41518 (file_exists() warns of open_basedir restriction on non-existent file)
2007-06-01 13:35:23 +00:00
Ilia Alshanetsky
de64609fec
Back to dev
2007-05-30 18:48:58 +00:00
Ilia Alshanetsky
b604bc7200
5.2.3
2007-05-30 18:45:59 +00:00
Rasmus Lerdorf
6e0d643783
Slightly cleaner code
2007-05-25 09:20:01 +00:00
Rasmus Lerdorf
f6bffb69c5
Optimize sapi_get_request_time() slightly making it use the cached time
...
and also checking if there is a server_context before trying to call
the request_time sapi hook.
2007-05-25 09:12:35 +00:00
Ilia Alshanetsky
9998f67c91
Back to dev
2007-05-25 00:07:57 +00:00
Ilia Alshanetsky
f0b7941067
5.2.3RC1
2007-05-25 00:05:30 +00:00
Antony Dovgal
0db4f06f13
MFH
2007-05-19 12:53:06 +00:00
Scott MacVicar
55a3d5f8b1
MFH: Fixed bug #41390 (Clarify error message with invalid protocol scheme)
2007-05-15 13:04:43 +00:00
Antony Dovgal
d85fc29edf
MFH
2007-05-14 12:19:34 +00:00
Hannes Magnusson
909894682d
MFH: bug#41361 (shell_exec() does not find binaries)
2007-05-12 16:06:46 +00:00
Hannes Magnusson
63c11738f8
use php_strtok_r() rather than strsep()
...
# Fixes build on, for instance, solaris
2007-05-10 19:48:30 +00:00
Dmitry Stogov
eec0b67cd8
Fixed bug #41304 (compress.zlib temp files left)
2007-05-08 12:08:17 +00:00
Ilia Alshanetsky
420352d8b5
Register RAW_POST_DATA even when always_populate_raw_post_data is off in
...
instances where content type is not known
2007-05-07 23:27:59 +00:00
Ilia Alshanetsky
f932fe5ad4
Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no
...
default post handler).
2007-05-06 16:34:14 +00:00
Hannes Magnusson
448dbac84f
MFH: Fixed PHP CLI to use the php.ini from the binary location
2007-05-06 14:01:26 +00:00
Ilia Alshanetsky
a64c73121d
Back to dev
2007-05-03 01:16:50 +00:00
Ilia Alshanetsky
0f474f9474
5.2.2
2007-05-02 23:05:14 +00:00
Edin Kadribasic
618e172ec8
Sync correctly with configure.in
2007-04-30 16:18:06 +00:00
Edin Kadribasic
9b1de77959
Sync with configure.in
2007-04-27 20:54:47 +00:00
Ilia Alshanetsky
bd7e78c48b
Back to dev
2007-04-26 22:44:53 +00:00
Ilia Alshanetsky
cc8ea13d5b
5.2.2RC2
2007-04-26 22:39:10 +00:00
Dmitry Stogov
4bd17132b1
ZTS fix
2007-04-25 14:18:01 +00:00
Antony Dovgal
41896020ea
fix ZTS build
2007-04-25 11:05:16 +00:00
Dmitry Stogov
8464abe22e
Fixed crashes because of SAPI handlers overrding from inside of dl()-ed extensions
2007-04-25 08:40:07 +00:00
Dmitry Stogov
41d27878de
Fixed crash on win32 in case of negative size
2007-04-18 14:23:06 +00:00
Dmitry Stogov
02ee91dbb4
Fixed crash
2007-04-18 13:53:19 +00:00
Dmitry Stogov
72e7bfdedf
Fixed endless loop in open_basedir check
2007-04-18 11:58:40 +00:00
Rob Richards
b6b312c020
add file locking under windows
...
change win build to use common clock compat files
2007-04-18 09:38:59 +00:00
Ilia Alshanetsky
843d0d58a0
Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys).
2007-04-17 15:06:50 +00:00
Dmitry Stogov
e1814f0dbe
WIN64 support
2007-04-16 08:09:56 +00:00
Brian Shire
f088268f91
fix fold typo
2007-04-16 02:25:24 +00:00
Antony Dovgal
73aa351741
MFH: add support for %I64(u|d) to sprintf() utilities
2007-04-12 22:01:20 +00:00
Ilia Alshanetsky
9005e996f1
Back to dev
2007-04-10 22:38:47 +00:00
Ilia Alshanetsky
ba5e5fe4ed
5.2.2RC1
2007-04-10 22:31:16 +00:00
Antony Dovgal
19aa4a932f
fix #40931 (open_basedir bypass via symlink and move_uploaded_file())
2007-04-10 22:30:07 +00:00
Dmitry Stogov
4de76f02ea
Fixed 64-bit support
2007-04-09 15:38:58 +00:00
Andrei Zmievski
da4ba85cb4
We can't use the printf attribute here since we are supporting
...
non-standard formats (like 'F').
2007-04-06 19:25:52 +00:00
Ilia Alshanetsky
aa18505f34
Avoid locks when appening to the error log file
2007-04-06 13:58:48 +00:00
Ilia Alshanetsky
642432a5de
Fixed bug #40897 (error_log file not locked)
2007-04-01 19:29:42 +00:00
Ilia Alshanetsky
f80afa623d
Fixed bug #40921 (php_default_post_reader crashes when post_max_size is
...
exceeded).
2007-04-01 19:09:36 +00:00
Antony Dovgal
291f3a28c9
MFH: fix compile warning
2007-03-28 09:14:08 +00:00
Marcus Boerger
0ad927dbf2
- MFH A stream wrapper might only allow directory access
2007-03-03 19:01:34 +00:00
Stanislav Malyshev
a0215e9ac4
fix variable name
2007-03-02 22:03:05 +00:00
Stanislav Malyshev
32fb34e2d1
limit nesting level of input variables
2007-03-02 21:58:05 +00:00
Ilia Alshanetsky
efad70c2cc
snprintf() -> slprintf()
2007-02-27 03:28:17 +00:00
Antony Dovgal
7939691523
fix ws/cs and make the ugly code less ugly..
2007-02-26 12:05:52 +00:00
Nuno Lopes
d3ddf47718
update pcre symbols list
2007-02-25 18:47:21 +00:00
Marcus Boerger
1345740fa5
- Add [v]slprintf to overcome the returnvalues issue of snprintf
2007-02-24 18:20:46 +00:00
Ilia Alshanetsky
1b8a85415d
Fixed Bug #39396 (stream_set_blocking crashes on Win32).
2007-02-24 15:48:40 +00:00
Marcus Boerger
24fa61e202
- Drop superflous efree
2007-02-24 14:53:50 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Sara Golemon
c3935671cd
MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries
2007-02-23 23:09:14 +00:00
Marcus Boerger
e3d786be4e
- MFH Fix logic
2007-02-22 23:26:03 +00:00
Antony Dovgal
4a95928d1d
MFH: implement PHP_STREAM_FLAG_NO_CLOSE and avoid hacks
2007-02-21 21:57:21 +00:00
Ilia Alshanetsky
a92ef5e0dc
Fixed a memory leak on highlight_file() with a non-existant file
2007-02-13 23:39:14 +00:00
Antony Dovgal
c8a4b13638
MFH: improve php_userstreamop_seek()
2007-02-13 19:50:59 +00:00
Antony Dovgal
ffe3e65ac0
fix MFHed segfault
2007-02-07 21:07:31 +00:00
Marcus Boerger
6ded8042b9
- MFH Fix memleak with temp dir
2007-02-07 21:01:06 +00:00
Marcus Boerger
ee3226e50e
- MFH options/exports
2007-02-07 20:59:59 +00:00
Ilia Alshanetsky
3f8e222ab3
Back to dev
2007-02-07 01:01:37 +00:00
Ilia Alshanetsky
ee626ccb51
5.2.1
2007-02-07 00:45:04 +00:00
Andi Gutmans
a11e0b5ef1
- Make sure to be ANSI C compliant
2007-02-05 05:15:16 +00:00
Marcus Boerger
0709a0490f
- MFH Add PHPAPI to stuff needed by streams API for shared exts
...
- MFH Readonly issue fix to memory streams option handling (still not
activated in 5.2.1 though)
2007-02-03 16:40:05 +00:00
Dmitry Stogov
52f6312866
Fixed bug #40259 (ob_start call many times - memory error). (Dmitry)
2007-01-29 11:21:31 +00:00
Marcus Boerger
0903f26151
- Disable memory streams set option until 5.2.2
2007-01-27 20:31:51 +00:00
Marcus Boerger
d10beb67c3
- MFH truncate support for mem/temp streams
2007-01-27 20:25:11 +00:00
Ilia Alshanetsky
7c166ddf86
Back to dev
2007-01-26 00:21:20 +00:00
Ilia Alshanetsky
15bcf9e38e
5.2.1RC4
2007-01-26 00:15:03 +00:00
Ilia Alshanetsky
9bf088ce36
Fixed bug #39450 (getenv() fills other super-globals).
2007-01-20 22:16:24 +00:00
Ilia Alshanetsky
5500a08ba3
Back to dev
2007-01-19 00:13:49 +00:00
Ilia Alshanetsky
cbd3a64136
5.2.1RC3
2007-01-19 00:03:21 +00:00
Nuno Lopes
58d4b44ae7
only 2 bits are needed for shutdown(2) method (only 3 possible values). this is new code in 5.2.1, so don't worry..
2007-01-18 16:05:48 +00:00
Antony Dovgal
7ad1c3c5f2
MFH: add trailing '\0' to stream hashes
2007-01-15 17:07:08 +00:00
Antony Dovgal
7dd989fd4a
revert the patch temporarily, I need to test a bigger patch in HEAD..
2007-01-15 16:03:42 +00:00
Antony Dovgal
c463e98e99
MFH
2007-01-15 14:59:49 +00:00
Hannes Magnusson
6b7144d0b8
Fix build
...
#Thanks Andy
2007-01-12 14:31:28 +00:00
Hannes Magnusson
b865d176de
Typo
2007-01-12 12:11:18 +00:00
Antony Dovgal
5941c1d28c
MFH
2007-01-12 09:10:16 +00:00
Ilia Alshanetsky
2ae036f038
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
...
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:46:11 +00:00
Antony Dovgal
7c92982b5b
MFH
2007-01-11 15:51:37 +00:00
Ilia Alshanetsky
78ca1de763
Fixed bug #40079 (php_get_current_user() not thread safe).
...
# Original patch from wharmby at uk dot ibm dot com
2007-01-09 23:27:22 +00:00
Ilia Alshanetsky
c5fb061cbf
Provide means for opening file for zend with error supression. Allows us to
...
avoid INI hackery such as the one used in SPL.
2007-01-08 03:39:09 +00:00
Nuno Lopes
a431a09f47
MFH
2007-01-06 20:44:51 +00:00
Ilia Alshanetsky
56a147fbff
Back to dev
2007-01-04 23:55:56 +00:00
Ilia Alshanetsky
e6c845cb2c
5.2.1RC2
2007-01-04 23:52:29 +00:00
Ilia Alshanetsky
2df7386475
Update copyright year
...
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
96489b4178
Fixed bug #39984 (redirect response code in header() could be ignored in
...
CGI sapi).
2006-12-31 19:22:01 +00:00
Ilia Alshanetsky
b154f188d1
Simplify code and eliminate strcat() usage
2006-12-28 15:09:29 +00:00
Antony Dovgal
112462d102
MFH
2006-12-28 12:18:54 +00:00
Antony Dovgal
d3a651a39e
MFH
2006-12-28 12:01:50 +00:00
Ilia Alshanetsky
b85f1345a6
Ensure that OnUpdateLongGEZero is greater or equal to 0.
...
Added a update wrapper for ensuring >0 values
2006-12-25 23:55:59 +00:00
Ilia Alshanetsky
52d53543ac
Allocation safety checks
2006-12-25 22:36:57 +00:00
Dmitry Stogov
5436160dc6
Fixed heap overflow
2006-12-25 13:11:23 +00:00
Antony Dovgal
b019cd99c6
MFH
2006-12-21 21:49:22 +00:00
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