summaryrefslogtreecommitdiff
path: root/main/SAPI.c
Commit message (Collapse)AuthorAgeFilesLines
* Added missing charset.Yasuo Ohgaki2002-09-081-0/+1
|
* WebDAV MKCOL can have post data body, see rfc2518 8.3.1Hartmut Holzgraefe2002-09-071-0/+1
|
* This 2 lines should have been removed when the header() code was rewritten.Stefan Esser2002-09-041-2/+0
|
* do not check for POST twiceChristian Stocker2002-08-221-1/+0
|
* @ - Added php.ini option "allow_webdav_methods" to allow handling ofChristian Stocker2002-08-221-2/+10
| | | | | | @ WebDAV http requests within PHP scripts. (chregu) # More methods (for DeltaV) will follow.
* -keep mimetype until sapi deactivationMarcus Boerger2002-08-051-12/+12
| | | | | -move NULL check for sapi_apply_default_charset to proper position.
* Yup, sizeof() includes the space for the \0Rasmus Lerdorf2002-08-031-1/+1
|
* made sapi_register_treat_data() to support multibyte input encoding ↵Rui Hirokawa2002-08-021-0/+7
| | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
* Fixed wrong usage of strncmp.Stefan Roehrich2002-08-011-4/+4
|
* - free mimetype and statusline early if no longer needed or in deactivationMarcus Boerger2002-08-011-11/+13
| | | | | #not setting them to NULL caused the segfault
* Need room for the \0 here to avoid an overflowRasmus Lerdorf2002-08-011-1/+1
|
* -problem with CLI/mbstring/output bufferingMarcus Boerger2002-07-311-8/+14
|
* Commit patch as discussed on LinuxTag and posted to php-dev in June.Stefan Roehrich2002-07-281-0/+34
| | | | | | | | | | Disables zlib.output_compression for scripts with image/ content-type header (fixes bug #16109) and makes it possible to switch zlib.output_compression during script execution before the headers are sent. @- zlib.output_compression is disabled for "image/" content-type @ headers and can be changed during script execution. (Stefan)
* fixed: output encoding translation by mb_output_handler() in ext/mbstring ↵Rui Hirokawa2002-07-271-0/+7
| | | | was not usable when Content-Type is set by header().
* - Fixed bug: #18268. If pcre is build as shared extension, we can't usefoobar2002-07-131-9/+10
| | | | | | php_pcre_replace() here. - Cleaned up a bit.
* fix typoSascha Schumann2002-07-031-1/+1
|
* Add sapi_header_op interface which supersedes the sapi_add_header and _exSascha Schumann2002-07-031-21/+67
| | | | | | | | | | | | | | | | | | | | | calls. Revert the change to the sapi_add_header_ex interface. Fix various bugs: 1. header("HTTP/1.0 306 foo"); header("Location: absolute-uri"); did not work in combination with several SAPI modules, because http_status_line was never properly reset. And thus, all SAPI modules which looked at http_status_line ignored the changed http_response_code. 2. The CGI SAPI did not send out the HTTP status line at all, if http_status_line had not been set explicitly by calling header("HTTP/1.0 200 foo");
* - Added a new parameter to the header() function which overrides the HTTPDerick Rethans2002-06-211-5/+8
| | | | | | | response code. @- Added a new parameter to the header() function which overrides the HTTP @ response code. (Derick)
* fix: appending the default charset to text/ content types never workedStefan Esser2002-06-181-6/+3
| | | | | fix: removed double free
* keep fingers away from already freed memory.Stefan Esser2002-06-181-2/+2
|
* Patch by Michael Sisolak <msisolak@yahoo.com> to make header() honor theSander Roobol2002-06-181-0/+18
| | | | | replace parameter. Closes #16458.
* fix for bug #14776Stefan Esser2002-01-141-0/+1
|
* fixed: fix for my broken patch.Stefan Esser2001-12-161-6/+5
|
* whitespace.Stefan Esser2001-12-161-2/+6
|
* fixed: WWW-Authenticate -> header_line got only freed when safe_mode was activStefan Esser2001-12-161-3/+2
| | | | | fixed: WWW-Authenticate -> content of header_line was changed after it was freed
* fixed: bufferoverflow in sapi_add_header_ex triggerable by ↵Stefan Esser2001-12-161-0/+1
| | | | header("WWW-Authenticate: Basic foobar");
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Added missing CVS Id tag.foobar2001-11-241-0/+2
|
* Let's suppress this warning if always_populate is enabledRasmus Lerdorf2001-10-241-1/+2
|
* Ok, now actually make it work - maybe...Rasmus Lerdorf2001-10-231-1/+14
|
* @- $HTTP_RAW_POST_DATA was not populated on a missing content-type even whenRasmus Lerdorf2001-10-231-1/+1
| | | | | | | @ always_populate_raw_post_data was on - fixed. (Rasmus) $HTTP_RAW_POST_DATA was not populated on a missing content-type even when always_populate_raw_post_data was on - fixed. (Rasmus)
* Check if PCRE support is compiled in and only use the pcre functions ifRasmus Lerdorf2001-10-211-3/+21
| | | | | it is. Otherwise just set the realm to the safe mode user id if it isn't.
* # Butt-ugly looking code here, but I need regular expressions to do this.Rasmus Lerdorf2001-10-201-0/+57
| | | | | | | Re-instated safe-mode realm mangling as it was in php 2 and 3 albeit in a somewhat more robust way. @ Re-instated safe-mode realm mangling (Rasmus)
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Cleanup.foobar2001-09-071-4/+0
|
* First step for chunkifying the HTTP uploads.foobar2001-09-031-3/+8
|
* fix SAPI_POST_* exportsDaniel Beulshausen2001-08-151-1/+1
|
* more tsrm cleanupSascha Schumann2001-08-051-2/+2
|
* More TSRMLS_FETCH work. Got it under 400 now.Zeev Suraski2001-07-311-13/+5
|
* More TSRMLS_FETCH workZeev Suraski2001-07-311-4/+4
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-33/+32
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-3/+3
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Get rid of the redundant global startup codeZeev Suraski2001-07-241-3/+0
|
* Add always_populate_raw_post_data ini directive and default it to 0 toRasmus Lerdorf2001-07-171-0/+4
| | | | | | | | | maintain current behaviour. If this is turned on then $HTTP_RAW_POST_DATA is always populated with a copy of the raw post data. @ - Add config option (always_populate_raw_post_data) which when enabled @ will always populate $HTTP_RAW_POST_DATA regardless of the post mime @ type (Rasmus)
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-1/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-0/+1
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* - Change macros from V_ to VCWD_ because of AIX name clashAndi Gutmans2001-04-301-1/+1
|
* get rid of MS's _popen/_pcloseDaniel Beulshausen2001-04-271-0/+9
|
* Fix possible crash if content-type is not set.foobar2001-03-181-1/+1
|
* These functions are not necessary - that's what sapi_register_post_entry()Zeev Suraski2001-03-181-43/+0
| | | | | | | | 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!