php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43956 Hex output printed on 404 error
Submitted: 2008-01-28 22:55 UTC Modified: 2008-01-28 22:56 UTC
From: papile at aps dot org Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.5 OS: FreeBSD 6
Private report: No CVE-ID: None
 [2008-01-28 22:55 UTC] papile at aps dot org
Description:
------------
There appears to be some sort of overflow occurring when the header is set to 'HTTP/1.1 404 Not Found' on apache.  We are using apache 2.24.  When the print output of the PHP script exceeds 8000 characters, and the header is set to 'HTTP/1.1 404 Not Found' the character count is printed in hex at the top of the screen. If the header is set to 'HTTP/1.0 404 Not Found' this does not occur.

Reproduce code:
---------------
publish.aps.org/test.txt

Expected result:
----------------
8000 0's and 1 x

Actual result:
--------------
1f41 
8000 0's and 1 x
and another 0 at the bottom of the page.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-28 22:56 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC