php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42402 Hex values appearing on the us.php.net documentation pages
Submitted: 2007-08-23 21:27 UTC Modified: 2008-01-17 19:19 UTC
From: vodka_carambar at yahoo dot com Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Unknown
Private report: No CVE-ID: None
 [2007-08-23 21:27 UTC] vodka_carambar at yahoo dot com
Description:
------------
I've noticed that in your documentation code there are occurances of hex values. For example on http://us.php.net/utf8_encode at the top there is a 2b5e. We had a very similar problem on our www machine after we upgraded to Apache 2, and it was because in our code at the top we had the following line.

header('HTTP/1.1 200 OK');

When this line was removed the problem vanished. According to google twas something about chunked data. (the hex values reflect the size of the "chunk" being sent to the browser).

This isn't a critical problem, but if anyone ever tries to solve the problem I hope this may save them some head bashing.

Reproduce code:
---------------
header('HTTP/1.1 200 OK');

Expected result:
----------------
On an Apache 1.3 server nothing untoward happened (not sure what configuration changes may have prompted things though)

Actual result:
--------------
After Apache 2 upgrade the text intruders appeared

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-24 00:49 UTC] tularis@php.net
Not sure if people here have any control over mirrors, just in case I changed it to a PHP.net website problem instead of a Documentation Problem (which it is not).

You could also try to contact the mirror owner and let them know about the problem. Details can be found at http://us.php.net/mirror.php
 [2008-01-05 12:56 UTC] bjori@php.net
Looks like the mirror maintainer has fixed the issue.
 [2008-01-17 19:19 UTC] bjori@php.net
(See bug#43843)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 03:01:29 2024 UTC