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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 23:01:26 2024 UTC