Sebastian Bergmann
8f54e30f3c
Disable mbstring (and sync behaviour with *NIX per Andrei's commit).
2002-11-13 06:47:43 +00:00
Marcus Boerger
cecb9dfc79
Implemented -n switch to skip parsing ini at startup as suggested by Wez.
...
#The switch 'n' was planned to be used for beautifying....delete n to make
#clear these functions do not have a switch yet.
2002-11-12 20:56:47 +00:00
Hartmut Holzgraefe
be5e379ec6
HTTP_RAW_POST_DATA BC fixes
...
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)
2002-11-12 18:29:11 +00:00
Ilia Alshanetsky
8ed36bc318
Changed max_input_time PHP_INI_SYSTEM|PHP_INI_PERDIR because ini_set() will
...
already be too late, the POST/GET/COOKIE processing occures before the script
gets parsed.
Changed the default value to -1. If users have previously (older PHPs)
adressed the problem by setting timeout to a large value, we can avoid breaking
their script by detecting the -1 and using timeout_seconds instead of
max_input_time when setting the 'input' timeout.
2002-11-12 14:40:00 +00:00
Ilia Alshanetsky
bb14455e62
Added missing zend_lineno initilization.
2002-11-10 19:28:51 +00:00
Ilia Alshanetsky
91a203e8cd
Fixed a bug that in many situations would cause open_basedir restriction to
...
be bypassed. Most notable exception, is the inclusion of files via include(),
with a partial path.
2002-11-10 05:14:26 +00:00
foobar
609992baeb
ws fixes
2002-11-10 02:48:22 +00:00
Stig Bakken
cd72343bb3
* honor track_errors ini setting in php_verror()
2002-11-10 02:09:26 +00:00
Ilia Alshanetsky
2a291ba362
Made open_basedir error more descriptive.
2002-11-08 22:48:01 +00:00
Hartmut Holzgraefe
5aec6f4e33
fix for #20198 :
...
"always_populate_raw_post_data = On" breaks HTTP file uploads
2002-11-08 08:41:52 +00:00
Sascha Schumann
6442b86bfa
bumb api version because of module_startup change
2002-11-07 11:52:45 +00:00
Ilia Alshanetsky
78e2e69b23
Instead of checking whether realpath exists based on OS. Use the
...
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868 .
2002-11-06 18:07:23 +00:00
Marcus Boerger
a73e74c2f8
Make the macro use the function and not the other macro as discussed
...
with Wez.
2002-11-06 00:17:44 +00:00
Marcus Boerger
1f0b200188
php_stream replacement for fprintf
...
#Agreed by Wez - I will use this mysel soon.
2002-11-06 00:15:24 +00:00
Ilia Alshanetsky
cfe0c82034
Added 4th argument to virtual_file_ex() that specifies whether or not
...
realpath() should be used during path resolving. In a number of functions
we do not want to use realpath(), since realpath() will resolve symlinks.
2002-11-05 14:50:17 +00:00
Marcus Boerger
8f6120fef4
correct define: silences compiler warning in http_fopen_wrapper.c
2002-11-05 11:10:06 +00:00
David Reid
464d8ca5c1
Work around a daft mistake in the beos headers...
2002-11-04 21:20:52 +00:00
Colin Viebrock
1fe68ddde5
ahem
2002-11-01 23:00:32 +00:00
Wez Furlong
ae4c3c22e1
Probable fix for #20180 .
2002-11-01 04:58:23 +00:00
Ilia Alshanetsky
2eaae61f3b
Reverting previous OpenSSL patch.
2002-11-01 03:25:21 +00:00
Ilia Alshanetsky
9b35c0a897
Possible fix for #20014 . Suggested by wez@php.net
2002-11-01 00:57:54 +00:00
Wez Furlong
f8486bc344
Fix for #19508 by poleson@verio.net.
2002-10-29 14:57:12 +00:00
Ilia Alshanetsky
e300e0df59
Fix win32 build.
2002-10-28 12:37:31 +00:00
Ilia Alshanetsky
728eacbf52
A better fix for bug #20110 .
2002-10-28 03:45:21 +00:00
Sterling Hughes
29a344b384
remove $_FILES from $_REQUEST as per php-dev conversation...
2002-10-28 02:46:09 +00:00
Ilia Alshanetsky
f76b9649cd
Fixed bug #20110 .
2002-10-28 00:28:11 +00:00
Shane Caraveo
5ef76f6707
dont memmove a null pointer. caught by bounds checker.
2002-10-27 23:34:48 +00:00
Shane Caraveo
bb55b3a420
fix Bug #20126
...
write returns an int, with < 0 being a failure.
2002-10-27 23:01:45 +00:00
Andrei Zmievski
615c033ea8
Back to 4.3.0-dev.
2002-10-27 19:51:17 +00:00
Andrei Zmievski
939de5b8d3
Update to -pre2.
2002-10-27 19:07:45 +00:00
Derick Rethans
7592362b4c
- Allow the report_memleak setting to be set everywhere
2002-10-24 16:56:59 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
Moriyoshi Koizumi
e8be0db546
Fixed build when mbstring is not used - my previous patch is insufficient.
2002-10-24 02:59:01 +00:00
Moriyoshi Koizumi
73ca375f37
MFH; we would see a nasty problem again if it was not fixed...
2002-10-24 02:56:28 +00:00
Moriyoshi Koizumi
74883a9583
Make php_mb_is_mb_leadbyte() obsolete. It only works with double-byte chars.
...
# Sorry Marcus, it seems we were working simultaneously :)
2002-10-23 23:25:27 +00:00
Moriyoshi Koizumi
afa9f42f47
Function renaming.
2002-10-23 19:51:50 +00:00
Moriyoshi Koizumi
fdc91ccc73
Renaming the functions.
2002-10-23 18:32:55 +00:00
Moriyoshi Koizumi
b7703551ed
Remaned the functions for consistency
2002-10-23 16:54:31 +00:00
Derick Rethans
d54f58d164
- Trying to clean up this mess :)
2002-10-23 09:35:21 +00:00
Derick Rethans
273d5e04d2
- No reason why implicit_flush should not be settable from a script
2002-10-23 09:31:33 +00:00
Ilia Alshanetsky
a5d3427251
When doing automatic line end detection, pick the line end that is found
...
first.
2002-10-22 15:34:50 +00:00
Wez Furlong
dabf1053cd
Refine stream_select() to work with streams that have data in their read
...
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.
2002-10-21 22:54:37 +00:00
Hartmut Holzgraefe
07b90cafc9
removed left-over unused variable
2002-10-21 19:18:39 +00:00
Hartmut Holzgraefe
8841dfc995
removed bogus paranoid header checking
2002-10-21 18:44:50 +00:00
Hartmut Holzgraefe
8b7e9d7774
some changes to how request input data (Content-Lenght >0) is handled
...
- webdav-specific stuff removed (should be handled using httpd.conf
LIMIT or equivalents)
- always_populate_raw_post_data now working on any method, not just
POST (and webdav methods with allow_webdav_methods), when
Content-Length is greater zero
- raw input data is also available using php://input stream,
this way one doesn't have to care about memory_limit
- input data is now always consumed (although maybe ignored,
this fixes we had withproblems with keep-alive connections
@ raw POST data is now available as php://input stream (hartmut)
2002-10-21 16:41:06 +00:00
Ilia Alshanetsky
b9efd22339
Fixed bug #16880 . Added an ini option max_input_time that allows the user
...
to specify how much time a script may spend parsing input data (POST, GET, etc..).
2002-10-21 13:09:29 +00:00
Moriyoshi Koizumi
890aee56d1
MFH
2002-10-21 01:33:31 +00:00
Moriyoshi Koizumi
c536b52cb0
style fix
2002-10-20 23:05:34 +00:00
Ilia Alshanetsky
fef922307c
Fixed incorrect handling of files starting with a .
2002-10-20 20:44:10 +00:00
Masaki Fujimoto
a6ecdca0ef
fixed highlight related bugs (in case shift_jis input/output filters are enabled)
2002-10-20 02:57:40 +00:00