Arpad Ray
5bc97c6cfa
Implement object-oriented session handlers ( https://wiki.php.net/rfc/session-oo )
2011-09-13 22:28:15 +00:00
Arpad Ray
47cfae87eb
Implement object-oriented session handlers ( https://wiki.php.net/rfc/session-oo )
2011-09-13 22:28:15 +00:00
Pierre Joye
c74679be0a
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Pierre Joye
eea14c09fc
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Pierre Joye
82b14d2f86
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Hannes Magnusson
22c4ca480f
Interesting typo...
2011-09-05 09:34:14 +00:00
Hannes Magnusson
8db93019b4
Not all submodules have MINIT, but they have MINFO and need to be registered
...
(cought by tyrael@)
2011-09-05 09:27:23 +00:00
Gustavo André dos Santos Lopes
cc45ce4586
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
5aa6b7a294
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Gustavo André dos Santos Lopes
ac20ab11f7
- Fixed bug #55576 : Cannot conditionally move uploaded file without race
...
condition.
2011-09-04 23:00:47 +00:00
Xinchen Hui
44e2c266c3
Remove no sense statements
2011-08-08 00:47:40 +00:00
Xinchen Hui
fb617c33d4
Remove no sense statements
2011-08-08 00:47:40 +00:00
Xinchen Hui
4e97a9fc3f
Remove no sense statements
2011-08-08 00:47:40 +00:00
Xinchen Hui
57ec3758b7
revert -r314422
...
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
2ce3f11f4b
revert -r314422
...
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
376a04e14f
revert -r314422
...
No need to check erealloc's return
2011-08-07 14:25:30 +00:00
Xinchen Hui
b2110c3eea
Fixed bug that may dereferenced NULL pointer before checking
2011-08-07 13:19:04 +00:00
Xinchen Hui
a35462c71c
Fixed bug that may dereferenced NULL pointer before checking
2011-08-07 13:19:04 +00:00
Xinchen Hui
59b7b2701c
Fixed bug that may dereferenced NULL pointer before checking
2011-08-07 13:19:04 +00:00
Felipe Pena
997f323e3a
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
9480eace41
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Pierre Joye
9805e1674a
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Kalle Sommer Nielsen
513dc26776
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Kalle Sommer Nielsen
9f782a73e8
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Felipe Pena
6c02d95bd3
- Missing valid path check
2011-06-23 21:53:25 +00:00
Felipe Pena
f9f298cc0b
- Missing valid path check
2011-06-23 21:53:25 +00:00
Felipe Pena
08ddf683fc
- Fixed crash in error_log() (strlen(NULL)) reported by: shm, Maksymilian Arciemowicz
2011-06-23 21:48:15 +00:00
Patrick Allaert
97ec4f2702
Changed register_shutdown_function() to reflect that it is using a cb (thx arpad)
2011-06-20 07:11:21 +00:00
Felipe Pena
bc6cb0c70d
- Fixed bug #54680 (missing TRACK_VARS_SERVER check)
2011-06-12 02:47:48 +00:00
Felipe Pena
8d4a35f3e9
- Fixed bug #54680 (missing TRACK_VARS_SERVER check)
2011-06-12 02:47:48 +00:00
Felipe Pena
0ec1758381
- Fixed bug #54680 (missing TRACK_VARS_SERVER check)
2011-06-12 02:47:48 +00:00
Felipe Pena
33a8442c5d
- Fix memory leak caused by RSHUTDOWN not being called by MINIT dependency
2011-06-07 01:58:56 +00:00
Felipe Pena
32b5f8a1a3
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Felipe Pena
4737910b69
- Added new parameter parsing option (p - for valid path (string without null byte in the middle))
...
# The tests will be fixed in the next commits
2011-06-06 21:28:16 +00:00
Scott MacVicar
14e330556c
Further fix for #54918 - We attach a bunch of submodules loading to the basic MINIT, but if an error occurs during their MINIT we still call the MSHUTDOWN()
...
Other possible fix is that we should halt execution entirely when this happens but this feels a little drastic.
Committing to trunk for now
2011-06-03 01:44:37 +00:00
Scott MacVicar
76cbcc7f66
Added fabled hex2bin() function
2011-06-03 00:12:22 +00:00
Scott MacVicar
398c0b9dad
Added fabled hex2bin() function
2011-06-03 00:12:22 +00:00
Gustavo André dos Santos Lopes
a2e0e2564d
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
...
directive is set in activation time). This commit fixes this by adding a per
request parsing of the browscap file that's when get_browser is called the
first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes
6d9d7af86f
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
...
directive is set in activation time). This commit fixes this by adding a per
request parsing of the browscap file that's when get_browser is called the
first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes
a3a5157286
- PHP_STREAM_OPTION_WRITE_BUFFER no longer disables the read buffer of a plain
...
stream when 0 is given as the value.
- PHP_STREAM_OPTION_WRITE_BUFFER no longer changes the chunk size in socket
streams.
- Added stream_set_chunk_size() function.
- Some signedness fixes.
- Test for commit r308474, now that it's possible to actually test it.
2011-02-19 01:28:37 +00:00
Gustavo André dos Santos Lopes
6fba6737d5
- Fixed bug #53959 (reflection data for fgetcsv out-of-date).
2011-02-08 16:29:34 +00:00
Gustavo André dos Santos Lopes
077ee3a879
- Fixed bug #53959 (reflection data for fgetcsv out-of-date).
2011-02-08 16:29:34 +00:00
Adam Harvey
2b4fb94e8e
Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
...
Jones.
2011-02-04 10:47:41 +00:00
Adam Harvey
521e5462ab
Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
...
Jones.
2011-02-04 10:47:41 +00:00
Scott MacVicar
ca378eefa0
Add header_register_callback(), allows a userland function
...
to be called as all the headers are being sent and after all
of the default headers have been merged.
headers_list(), header_remove() and header() can all be used
inside the callback.
<?php
header('Content-Type: text/plain');
header('X-Test: foo');
function foo() {
foreach (headers_list() as $header) {
if (strpos($header, 'X-Powered') !== false) {
header_remove('X-Powered-By');
}
header_remove('X-Test');
}
}
$result = header_register_callback('foo');
echo "a";
2011-02-03 16:47:28 +00:00