foobar
4b8025987f
- Unused
21 years ago
Andrei Zmievski
264cec8be6
Unicode support.
21 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Dmitry Stogov
cf6bb99723
Fixed bug #33723 (php_value overrides php_admin_value)
21 years ago
Brian France
3137e1e422
Added a SG(server_context) NULL check to php_apache_getenv.
21 years ago
Antony Dovgal
8be61d707f
fix #29683 (headers_list() returns empty array)
21 years ago
Rasmus Lerdorf
091bff3570
Fix for bug #33057 - Don't send extraneous entity-headers on a 304 as per
RFC 2616 section 10.3.5
21 years ago
Rui Hirokawa
8235a70ef9
added a server variable PHP_AUTH_DIGEST to support HTTP Digest Authentication.
21 years ago
Rasmus Lerdorf
3c0411c496
Fix for bug #32263
This adds proto_num to request_info. It is defaulted to HTTP 1.0 (1000)
such that it has a valid value even if the underlying sapi doesn't set it
correctly. It is then used to determine if a 302 or a 303 should be sent
on a Location redirect. Any non GET/HEAD HTTP 1.1 redirect will get a 303
instead of a 302 to be compatible with the HTTP spec.
21 years ago
Rasmus Lerdorf
cad60c3760
Add SAPI hook to get the request time if provided by the web server,
otherwise call time(0) on the first call and store it so subsequent
calls will get the same time. Hook support for Apache1/2 included.
22 years ago
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
22 years ago
Stefan Esser
446f4d1bc2
Security Fix broken! Destroyed Basic auth. Blame: me
4.3.x not affected
22 years ago
Andi Gutmans
e5cfb1d05c
- Better stability during premature shutdown of request startup
22 years ago
Rasmus Lerdorf
44df89f00d
MFB - see bug #25753 for details
22 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
22 years ago
James Cox
f68c7ff249
updating license information in the headers.
23 years ago
Rasmus Lerdorf
a516171dec
MFB - fix a couple of missing closing folding tags
23 years ago
Edin Kadribasic
d758f2ea0b
Reverting my last patch because user reports it does not help
solve the problem. (bug #23504 )
23 years ago
Edin Kadribasic
97f3a35d73
Fixed MFB side effect
23 years ago
Edin Kadribasic
6f0e0a61b6
MFB
23 years ago
Sterling Hughes
3f700e58ab
update php module name to php5, not php4.
apache, apache2* and cli/cgi work.
sapi module maintainers should fix up their sapis, as I don't run
any servers with php outside of apache.
23 years ago
George Schlossnagle
e49bc59a79
ws fix
23 years ago
George Schlossnagle
f5fb75f390
hopefully a fix for 19919
23 years ago
Sascha Schumann
67f18fcf6c
Detect whether BUFFs contain a fd element. IBM is hiding the actual
descriptor behind a void *, so we just disable this for IBM servers
23 years ago
Sascha Schumann
ba32a619ae
use SUCCESS/FAILURE instead of 0/-1
23 years ago
Ilia Alshanetsky
acc9c13c36
Build Fix.
23 years ago
Ilia Alshanetsky
13f8b211c4
Fixed compilation of Apache & Apache Hooks SAPIs.
23 years ago
Zeev Suraski
3a1a209baf
Updates reflecting infrastructure changes
23 years ago
Sascha Schumann
294e776d95
add sapi_get_target_uid/_gid for obtaining information about the
non-privileged user the web server is running as. this is useful
for creating shared memory segments which need to be accessed by
the child processes/threads.
23 years ago
Sebastian Bergmann
2c5d4b8c23
Bump year.
23 years ago
Andrei Zmievski
2feb1cf6d7
MFB.
23 years ago
Sascha Schumann
2b95b3c83b
add a "force HTTP/1.0 response" facility to the SAPI layer
this is necessary, when you want to take over control of a connection
and the web server is doing stupid things by default (like enabling
chunked transfer encoding for no reason).
23 years ago
Sascha Schumann
09f463ddae
Add sapi_get_fd() and implement it for the Apache/thttpd SAPIs.
24 years ago
Ilia Alshanetsky
b09c1afe0e
PHP flags specified in .htaccess can now be turned on by using '1' as well as
'On'.
24 years ago
Moriyoshi Koizumi
f2f19761a5
Forgot this one.
24 years ago
Hartmut Holzgraefe
c4cb92229c
this will be handled elsewhere
24 years ago
Ilia Alshanetsky
fd094b5b1e
Fixed bug #15038 , original patch by: phpman@toowards.com
24 years ago
Zeev Suraski
76312b4508
another startup initialization fix - only ISAPI and CGI SAPI's tested,
minor compile buglets might occur in other SAPIs, but should be trivial
to fix...
24 years ago
Christian Stocker
9495fb9d7d
@ - Added php.ini option "allow_webdav_methods" to allow handling of
@ WebDAV http requests within PHP scripts. (chregu)
# More methods (for DeltaV) will follow.
24 years ago
foobar
91b3644a72
These functions are not used elsewhere.
24 years ago
foobar
8beb1e2237
Fix ZTS build
24 years ago
Rasmus Lerdorf
f5630aa246
Fix xbithack bug finally (see bug #16515 )
24 years ago
Stefan Esser
8d2bc70752
make POST requests work again
24 years ago
Zeev Suraski
9e743e83a5
Fix a NASTY multithreading bug with in the Apache module
24 years ago
Dan Kalowsky
0917902b92
Fix for Bug #9280 with regards to an Expect header. patch submitted by
Ilia <ilia@prohost.org>
# someone just give the man his php4 karma please!
24 years ago
Stefan Esser
44a5b43b79
Fixing the same possible memory leak.
24 years ago
foobar
f9e492d00b
@- Fixed bug with Apache which let PHP_AUTH_* variables to be set when
@ external basic auth mechanism was used. (Jani)
Fixes bugs: #16653 , #14534 , #14370
24 years ago
Venkat Raghavan S
575e3682f5
NetWare related changes
24 years ago
Zeev Suraski
ce20564d1e
whitespace
24 years ago
Rui Hirokawa
f30b722f14
Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto.
24 years ago