| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
and sapi_unregister_post_entry() are for...
Also, please maintain K&R code layout, it's very messy to have different
styles intermixed in the same codebase, and especially in the same files!
|
| |
|
|
|
|
|
|
|
|
|
| |
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
|
|
|
|
|
|
|
|
| |
before the Location Header.
Ex. header("HTTP/1.1 307 Temporary Redirect");
header("Location: URL");
|
|
|
|
|
|
|
| |
handler. Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive
|
|
|
|
|
| |
to add or replace a header.
|
| |
|
|
|
|
|
| |
(never use emalloc in an extension MINIT function)
|
|
|
|
|
|
|
| |
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
|
|
|
|
|
|
|
| |
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Implemented file_uploads on/off directive (defaults to on).
|
|
|
|
|
|
|
|
|
| |
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the mechanism for unlinking uploaded files at the end of the request
(was it ever tested?). Files moved with move_uploaded_file() will not be unlink()'d
again, to avoid (albeit very unlikely) race conditions.
|
| |
|
| |
|
|
|
|
|
|
|
| |
necessary, it can
be overriden in the activate() callback.
|
|
|
|
|
|
| |
There are quite a few modules which are using VIRTUAL_DIR. I don't think
this should be happening.
|
| |
|
| |
|
|
|
|
|
| |
here.
|
| |
|
|
|
|
| |
headers
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SAPI and down into the individual SAPI modules. I have made the
appropriate changes in all the SAPI modules, but please verify these.
The reason for this change is that Apache sometimes will feed PHP
a request_method of GET but have r->header_only set to true. This happens
in an ErrorDocument redirect. In this same scenario we want to preserve
the status code as well instead of just overwriting it with a 200 and
losing this information. For now the other sapi modules act exactly as
before since they probably do not make this distinction, and they may
not even have a valid response code this early in the request.
@ Fix HEAD request bug on an Apache ErrorDocument redirect and preserve
@ the status code across the redirect as well. (Rasmus)
|
|
|
|
|
|
|
|
| |
it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of aborted requests (Zeev)
|
| |
|
|
|
|
|
|
| |
in PHP 3, so let's not make it case sensitive.
@Make the special Header("http/...") response be case insensitive like 3.0 (Rasmus)
|
| |
|
| |
|
|
|
|
|
| |
with a CR-LF
|
|
|
|
|
|
|
| |
zend_get_parameters(), but it became invalid when someone switched it
to zend_get_parameters_ex(), and I decided to remove it anyway).
- Remove a redundant function call
|
| |
|
| |
|
|
|
|
|
|
| |
be enbaled right now).
It seems to work very basic stuff
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Don't trap if php.ini can't be read
|
|
|
|
|
|
|
| |
@ can be used to denote an empty string (Zeev)
- Added None keyword support to the INI parser
- Removed specialized "none" code
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
[6] NEVER USE strncat(). If you're absolutely sure you know what you're doing,
check its man page again, and only then, consider using it, and even then,
try avoiding it.
strncat() is your enemy!
- Fix several SAPI services, get rid of the default_content_type (it's always
composed of the mime type and charset now).
- Win32 works again
|
|
|
|
|
| |
error C2198: 'sapi_apply_default_charset' : too few actual parameters
|
|
|
|
|
|
| |
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
|
|
|
|
|
|
|
|
|
|
| |
stig, in sgi-mode i still "only" get:
(haven't touched my .ini file in ages - and don't plan to)
X-Powered-By: PHP/4.0b5-dev
Content-type: iso-8859-1 <<< where is text/html?
|
| |
|
| |
|
|
|
|
|
|
| |
- Fix a possible crash bug in failed file open error message
- Fix SAPI initialization issue that could lead to a crash
|
| |
|
|
|
|
|
|
|
|
|
|
| |
handlers we might
have in the future now obey to the variables_order directive, and there's a real way modular
way to handle POST content.
This is all untested, BEFORE_SAPI_POST_PATCH_17_FEB_2000 tagged before submission
@- Made multipart/form-data content obey to the variables_order directive (Zeev)
|