Ilia Alshanetsky
ed9e8c7c81
Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals
...
is enabled).
2005-02-17 04:44:11 +00:00
Ilia Alshanetsky
7ee1fdb657
Prune uploaded file names to \ on all OSes, read comments for explanation.
2005-02-15 00:25:38 +00:00
Anantha Kesari H Y
3c1e2e15b8
NetWare Libc has php.h so no need of having netware specific block here
2005-02-14 11:10:07 +00:00
Wez Furlong
0569078901
Avoid bug where stream_copy_to_stream() call for precisely 2000000 bytes would
...
result in entire resource being copied.
The mmap brake is already present inside mmap_range() and is set to 1MB.
2005-02-06 23:17:09 +00:00
Wez Furlong
f400f0e665
add an open mode for the memory streams that allows the stream to take
...
ownership of the passed-in buffer
2005-02-06 21:41:36 +00:00
Ilia Alshanetsky
e55938b6a8
Fixed bug #31514 (open_basedir uses path_translated rather then cwd for .
...
translation).
2005-02-02 23:43:17 +00:00
Ilia Alshanetsky
d179e6aa40
Final version of filename upload handling.
2005-02-01 02:33:07 +00:00
Ilia Alshanetsky
71695f8159
Use multibyte specific code for handling files and generic basename based
...
code in all other instances.
2005-01-24 22:35:23 +00:00
Moriyoshi Koizumi
76d91f2a3d
- Revert irrelevant part.
2005-01-24 16:47:18 +00:00
Ilia Alshanetsky
844cc09cd1
Fixed bug #31398 (When magic_guotes_gpc are enabled filenames with '
...
get cutoff).
2005-01-20 17:44:58 +00:00
foobar
14058c83e6
- Fix another generated header include
2005-01-14 20:44:28 +00:00
foobar
a139dbf9cc
- Fix outside-source-tree builds. Always include generated header files
...
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
foobar
6ffb0dcaf2
- Fix leaks with registered shutdown functions.
2005-01-09 16:30:09 +00:00
Wez Furlong
63ee853b74
bump PHP API number.
...
This is so that we can work around the signature change in the get_method
overloaded object handler in our portable extensions.
Yes, you could argue that the zend api number needs bumping, but then you could
argue which one to bump, as neither of them is specific or generic enough.
Besides all that, the PHP API number really needs a good old bump anyway.
2004-12-26 04:46:09 +00:00
Derick Rethans
6386777fe3
- MF43: Fixed weird types, this also makes it compile on IRIX again.
2004-12-17 13:08:44 +00:00
Andi Gutmans
4e942cb07f
- Fix bug #27728 (Can't return within a zend_try{} or the previous
...
state isn't restored.
2004-12-10 22:59:25 +00:00
Stefan Esser
b1bb6f1735
Do not silently truncate
2004-12-01 22:37:33 +00:00
Stefan Esser
c02b2d2d45
Fixed: Correctly Initialize fields
2004-11-28 13:32:29 +00:00
Stefan Esser
6d98fc38b5
Fixed: removed possible integer over-/underflows
2004-11-28 12:44:28 +00:00
Stefan Esser
224201e635
Fixed: strip quotes from filename
2004-11-20 18:49:36 +00:00
Ilia Alshanetsky
d98a44d483
Fixed bug #29801 (Set limit on the size of mmapable data).
2004-11-15 23:43:12 +00:00
Frank M. Kromann
816bcd3aff
Fix win32 build.
2004-11-15 21:04:09 +00:00
Derick Rethans
61364b5bb1
- MFH4.3: Cleaned up some of the locale mess:
...
* all internal use of sprintf, snprintf and the like will always
use the . as thousands seperator (if php.h is included only!).
* echo, printf() and sprintf() always render locale-aware
* added the %F modifier for non-locale aware rendering for floats
2004-11-15 13:42:22 +00:00
Rob Richards
d563495a24
add support for file://localhost/
...
support file:/// under windows again
2004-11-11 13:08:32 +00:00
Ilia Alshanetsky
f41c40f63e
Fixed bug #30750 (Meaningful error message when upload directory is not
...
accessible).
2004-11-11 00:38:04 +00:00
Andrey Hristov
494d665955
make sleep() return it's return value when possible
...
#on some *nix systems sleep() is implemented with SIGALRM. When SIGALRM
#interrupts sleep() it returns the number of seconds that has to be slept
#till the number of seconds wanted by the script. Sleep() on Windows is
# void.
2004-11-02 17:03:20 +00:00
Antony Dovgal
aa35b11afe
fix Win32 & Netware build
2004-10-28 05:05:20 +00:00
Antony Dovgal
ceacc834fb
fix bug #30388 (rename across filesystems loses ownership and permission info)
2004-10-27 11:58:49 +00:00
Ilia Alshanetsky
0802b1286d
Make request start time be available via $_SERVER['REQUEST_TIME'].
...
# As discussed on internals.
2004-10-24 17:41:13 +00:00
Stanislav Malyshev
f799da0a21
MF4: fix double bailout in HEAD when output is attempted from shutdown
2004-10-20 15:31:06 +00:00
Antony Dovgal
e865bc2bc5
fix bug #30442 ( segmentation fault when parsing ?getvariable[][ )
2004-10-18 15:05:06 +00:00
Anantha Kesari H Y
5bf2be3461
removing inclusion of platform specific config files as they are already included from php_scandir.h
2004-10-18 10:42:16 +00:00
Anantha Kesari H Y
6021286c5d
removing php_output_activate Fix for bug#30397
2004-10-18 10:26:45 +00:00
Derick Rethans
3b2879b3c1
- Revert patch until it is discussed
2004-10-18 06:04:02 +00:00
Anantha Kesari H Y
d5eb399b5e
Fix for Bug #30397
2004-10-16 10:32:42 +00:00
Ilia Alshanetsky
5c04e39383
Fixed bug #30362 (stream_get_line() not handling end string correctly).
2004-10-11 18:31:49 +00:00
Wez Furlong
b7182e85c7
Fix the return value check too
2004-10-11 01:40:41 +00:00
Wez Furlong
7cb4e769ff
check the correct flag for async connect
2004-10-11 01:30:19 +00:00
Christian Stocker
bd99d77bf6
- Fixed bug #27183 (Userland stream wrapper segfaults on stream_write)
...
Was applied to PHP 4 ages ago, but not to PHP 5 branch
2004-10-08 14:40:11 +00:00
Anantha Kesari H Y
940c5b393d
removed unwanted NEW_LIBC checks for NETWARE and removing custom mktemp.h as LibC itself supports mkstemp functionality
2004-10-07 12:22:16 +00:00
Anantha Kesari H Y
1d7a8a9e69
removed unwanted NEW_LIBC checks
2004-10-06 13:22:21 +00:00
Andi Gutmans
216853c0db
- Apply realpath() cache patch. We don't use it if we're in safe_mode and
...
- friends (which are quite slow anyway).
- If it proves to be stable I'll remove the #ifdef's in a few weeks.
2004-10-05 00:42:25 +00:00
Anantha Kesari H Y
ee43ab18b0
enabling few functionalities as the LibC starts supporting them
2004-09-30 15:55:18 +00:00
Anantha Kesari H Y
93be400da9
Including config.nw.h file for NetWare
2004-09-30 14:46:03 +00:00
Marcus Boerger
854b3ebdc3
- Add missing macro
2004-09-30 08:03:38 +00:00
Anantha Kesari H Y
379bb867cb
NetWare LibC don't have search.h
2004-09-29 16:11:47 +00:00
Anantha Kesari H Y
5dbf49e314
removed unwanted NEW_LIBC checks
2004-09-29 14:42:16 +00:00
Anantha Kesari H Y
06a4be43a3
NetWare don't have uid for a file so modified the php_checkuid to return 1 for NetWAre
2004-09-29 12:35:13 +00:00
Anantha Kesari H Y
b38de145ac
removed unneccessary inclusion of headers for NetWare
2004-09-29 12:25:56 +00:00
Anantha Kesari H Y
a93f75ce6b
NETWARE has a proper stat structure Now no need of CLIB_STAT_PATCH checks
2004-09-29 10:54:56 +00:00