cvs: php4 /sapi/apache2handler sapi_apache2.c

From: Date: Wed, 07 May 2003 14:11:59 +0000
Subject: cvs: php4 /sapi/apache2handler sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20767@lists.php.net to get a copy of this message
moriyoshi Wed May 7 10:11:59 2003 EDT Modified files: /php4/sapi/apache2handler sapi_apache2.c Log: 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.15 php4/sapi/apache2handler/sapi_apache2.c:1.16 --- php4/sapi/apache2handler/sapi_apache2.c:1.15 Wed Apr 16 19:31:23 2003 +++ php4/sapi/apache2handler/sapi_apache2.c Wed May 7 10:11:58 2003 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sapi_apache2.c,v 1.15 2003/04/16 23:31:23 iliaa Exp $ */ +/* $Id: sapi_apache2.c,v 1.16 2003/05/07 14:11:58 moriyoshi Exp $ */ #include <fcntl.h> @@ -416,7 +416,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 (#20767) next »