diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-07 14:11:58 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-07 14:11:58 +0000 |
| commit | edac2587515fdb202663fc9ffc6b527d7a6da907 (patch) | |
| tree | b0dbd217b82803fe4a4784e75d6210735ec23588 /sapi/apache2handler | |
| parent | e40e473e655bb654982ea9c7a628fbdd315d4639 (diff) | |
| download | php-git-edac2587515fdb202663fc9ffc6b527d7a6da907.tar.gz | |
Possible fix for bug #23455 (patch by rrichards@digarc.com)
Diffstat (limited to 'sapi/apache2handler')
| -rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 08f5a84d9d..0abd1e20b3 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -416,7 +416,7 @@ static void php_apache_request_ctor(request_rec *r, php_struct *ctx TSRMLS_DC) 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"); |
