cvs: php4(PHP_4_3) /sapi/apache2handler sapi_apache2.c

From: Date: Wed, 07 May 2003 14:12:57 +0000
Subject: cvs: php4(PHP_4_3) /sapi/apache2handler sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20768@lists.php.net to get a copy of this message
moriyoshi Wed May 7 10:12:57 2003 EDT Modified files: (Branch: PHP_4_3) /php4/sapi/apache2handler sapi_apache2.c Log: MFH(r-1.16): possible fix for bug #23455 (patch by rrichards@digarc.com) Index: php4/sapi/apache2handler/sapi_apache2.c diff -u php4/sapi/apache2handler/sapi_apache2.c:1.1.2.8 php4/sapi/apache2handler/sapi_apache2.c:1.1.2.9 --- php4/sapi/apache2handler/sapi_apache2.c:1.1.2.8 Wed Apr 16 19:31:39 2003 +++ php4/sapi/apache2handler/sapi_apache2.c Wed May 7 10:12:57 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.1.2.8 2003/04/16 23:31:39 iliaa Exp $ */ +/* $Id: sapi_apache2.c,v 1.1.2.9 2003/05/07 14:12:57 moriyoshi Exp $ */ #include <fcntl.h> @@ -414,7 +414,7 @@ r->no_local_copy = 1; content_type = sapi_get_default_content_type(TSRMLS_C); - ap_set_content_type(r, apr_pstrdup(r->pool, sapi_get_default_content_type(TSRMLS_C))); + ap_set_content_type(r, apr_pstrdup(r->pool, content_type)); efree(content_type); apr_table_unset(r->headers_out, "Content-Length");

« previous php.cvs (#20768) next »