1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Commit Graph

2700 Commits

Author SHA1 Message Date
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