History log of /PHP-7.0/main/SAPI.c (Results 251 – 275 of 344)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 545ae277 13-Oct-2000 Hartmut Holzgraefe

post handler registration done right
(never use emalloc in an extension MINIT function)


# 22e48a81 11-Oct-2000 Hartmut Holzgraefe

@ - POST handler for Adobe FDF format (Hartmut)
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1
# b7ecaacd 09-Sep-2000 Zeev Suraski

More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled.
- Implemented post_size_max limit. Defaults to 8MB.
- Impleme

More security-related (control) patches:
- 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).

show more ...


# 6c4cb4c0 09-Sep-2000 Zeev Suraski

Security related updates:
- Introduce php_open_temporary_file(), in place of tempnam(). Still
needs testing under UNIX (mkstemp()), works reliably under Windows now.
- Reimplement the

Security related updates:
- 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.

show more ...


# 3edf46ff 08-Sep-2000 Zeev Suraski

Implement move_uploaded_file() (untested)


# 75086e30 08-Sep-2000 Zeev Suraski

- Implemented is_upload_file()


# 91c808ec 08-Sep-2000 Zeev Suraski

Restore the headers_only test to the centralized SAPI startup. If necessary, it can
be overriden in the activate() callback.


# 6bfed632 04-Sep-2000 Andi Gutmans

- This shouldn't have been commited.
There are quite a few modules which are using VIRTUAL_DIR. I don't think
this should be happening.


# 341a0d46 04-Sep-2000 Andi Gutmans

- Found my bug and managed to move the V_* macros to TSRM


Revision tags: php-4.0.2
# 35a9a187 27-Aug-2000 Sascha Schumann

Fix strlcpy use at this place.


# b2cecd9d 27-Aug-2000 Sascha Schumann

newtype has a length of newlen+1, 'len' refers to the length of *mimetype
here.


Revision tags: PRE_LIBMYSQL_REVERT, php-4.0.2RC1
# 320105bc 20-Aug-2000 Sascha Schumann

Use size_t as parameter type in the getenv member of struct sapi_module


# f112b686 19-Aug-2000 Zeev Suraski

Avoid an endless loop situation in case of an error situation while sending headers


Revision tags: PRE_FILE_COMPILE_API_CHANGE
# ff0a08f5 02-Aug-2000 Rasmus Lerdorf

Leave this initialization in


# 76a2d253 02-Aug-2000 Rasmus Lerdorf

Heads up! I have moved the headers_only and response_code checks out of
SAPI and down into the individual SAPI modules. I have made the
appropriate changes in all the SAPI modules, but plea

Heads up! I have moved the headers_only and response_code checks out of
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)

show more ...


# 168ccfc1 11-Jul-2000 Zeev Suraski

Disable the hash_apply() protection on hashes that persist across requests - it's unsafe
because we may be aborted at any point
@- Fixed a possible data corruption in case of a huge amount of

Disable the hash_apply() protection on hashes that persist across requests - 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)

show more ...


Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH
# 68f35d55 05-Jul-2000 Uwe Steinmann

- fixed handling of fdf data (application/vnd.fdf)


# 2b61d55b 01-Jul-2000 Rasmus Lerdorf

This is documented to not be case sensitive and it is not case sensitive
in PHP 3, so let's not make it case sensitive.
@Make the special Header("http/...") response be case insensitive like

This is documented to not be case sensitive and it is not case sensitive
in PHP 3, so let's not make it case sensitive.
@Make the special Header("http/...") response be case insensitive like 3.0 (Rasmus)

show more ...


Revision tags: php-4.0.1pl1, php-4.0.1, php-4.0.1RC2, php-4.0.1RC
# d8a75cf7 23-Jun-2000 Andi Gutmans

- COMPILE_ERROR should only be used in Zend


Revision tags: PRE_EIGHT_BYTE_ALLOC_PATCH, php-4.0.0
# e043439f 18-May-2000 Zeev Suraski

Update the license with the new clause 6


Revision tags: php-4.0RC2
# 5c5ccc98 28-Apr-2000 Hartmut Holzgraefe

no more broken scripts by erroneously terminating header()'s argument
with a CR-LF


# 3220bb57 28-Apr-2000 Zeev Suraski

- Fix an invalid trick (it was valid when header() was using
zend_get_parameters(), but it became invalid when someone switched it
to zend_get_parameters_ex(), and I decided to remove it

- Fix an invalid trick (it was valid when header() was using
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

show more ...


# e40268d0 20-Apr-2000 Andi Gutmans

- Add missing V_STAT()


# de0d3547 02-Apr-2000 Andi Gutmans

- Create dtor function


# 6a2da70f 02-Apr-2000 Andi Gutmans

- Virtual cwd compiles now (need to uncomment #define in php.h for it to
be enbaled right now).
It seems to work very basic stuff


1...<<11121314