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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Mon Dec 30 18:01:27 2024 UTC