php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56892 Fixes for typos/bugs in apc.php
Submitted: 2006-03-15 00:09 UTC Modified: 2006-03-15 00:32 UTC
From: d dot begley at uws dot edu dot au Assigned: rasmus (profile)
Status: Closed Package: APC (PECL)
PHP Version: Irrelevant OS: Solaris 9
Private report: No CVE-ID: None
 [2006-03-15 00:09 UTC] d dot begley at uws dot edu dot au
Description:
------------
The "apc.php" instrumentation script included with APC 3.0.10 (as tested with PHP 5.1.2 with Apache 2.2.0 on Solaris 9) contains a number of spelling/grammatical errors (purely cosmetic) as well as two small "buglets":

- one causes the wrong sort order to be selected (and
  provides no way to choose the correct sort order)

- one causes the authenticated user name to be absent from
  output (replaced with a forlorn-looking empty string)

The patch provided fixes a number of spelling/grammatical errors along with the above two "buglets".

BTW, the PECL bug report form only goes up to PHP 5.1.1, not 5.1.2.


Reproduce code:
---------------
Adhering to the request not to post more than 20 lines of code, the DIFF (context format, hence longer than 20 lines) is available here:

http://users.aussec.com/~david/apc.php.diff


Expected result:
----------------
For the two buglets, it is expected that the authenticated user name is displayed and the correct sort order is selectable.


Actual result:
--------------
Authenticated user name is missing and wrong sort order option appears in drop-down list.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-15 00:32 UTC] rasmus@php.net
Applied.  Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 03:01:31 2024 UTC