php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37254 Empty entities are not matched properly
Submitted: 2006-05-01 02:54 UTC Modified: 2007-08-24 14:14 UTC
From: dave@php.net Assigned:
Status: Wont fix Package: Livedocs problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dave@php.net
New email:
PHP Version: OS:

 

 [2006-05-01 02:54 UTC] dave@php.net
Description:
------------
Due to using + instead of * in a regex, empty entities ('') are not matched properly in mkindex.php. Case in point: phpdoc/en/contributors.ent &frontpage.editors; Results in an E_NOTICE in bookinfo. Eg: http://livedocs.phpdoc.info/index.php?l=en&q=bookinfo

Patch is available here: http://www.powertrip.co.za/livedocs/viewpatch.php?patch=23

Patch also adds code to prevent the E_NOTICE from occurring and instead puts a HTML comment.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-24 14:14 UTC] philip@php.net
Livedocs is no longer in development, the current build system is
titled PhD.

Note: There is no such problem in PhD.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC