#19295 [Fbk->NoF]: header( "Content-Type: text/whatever" ) becomes modified to default_mimetype
| From: | php-bugs at lists dot php dot net | Date: | Tue, 15 Oct 2002 00:26:54 +0000 |
| Subject: | #19295 [Fbk->NoF]: header( "Content-Type: text/whatever" ) becomes modified to default_mimetype | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22433@lists.php.net to get a copy of this message | ||
ID: 19295
Updated by: php-bugs@lists.php.net
Reported By: j-devenish@users.sourceforge.net
-Status: Feedback
+Status: No Feedback
Bug Type: Output Control
Operating System: Solaris 8
PHP Version: 4.2.3
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-09-23 18:32:16] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-20 23:01:34] j-devenish@users.sourceforge.net
See also bug #19098. Can confirm that workaround posted by
<skamp@skamp.org> works for me. <sniper@php.net> indicates problem
probably fixed in CVS.
------------------------------------------------------------------------
[2002-09-12 19:52:53] j-devenish@users.sourceforge.net
Specifying an explicit charset in PHP scripts causes the desired header
to be sent:
header( "Content-Type: text/plain" ); # has no effect
header( "Content-Type: text/plain; charset=blah" ); # gets sent
------------------------------------------------------------------------
[2002-09-09 19:20:16] j-devenish@users.sourceforge.net
Commonplace effects of this problem: formatted monospace text appears
as run-on proportionally-spaced text ('text/html' sent instead of
'text/plain'); Mozilla doesn't recognise stylesheets (requires
'text/css').
------------------------------------------------------------------------
[2002-09-09 19:19:00] j-devenish@users.sourceforge.net
After browsing CVS diffs, I suspect that this is not
Apache/mod_php4-specific. I see a lot of changes (between 4.2.2 and
4.2.3) in php4/ext/mbstring/mbstring.c and php4/main/SAPI.c.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19295
--
Edit this bug report at http://bugs.php.net/?id=19295&edit=1