#37254 [NEW]: Empty entities are not matched properly
| From: | dave@php.net | Date: | Mon, 01 May 2006 02:54:51 +0000 |
| Subject: | #37254 [NEW]: Empty entities are not matched properly | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969372819@lists.php.net to get a copy of this message | ||
From: dave@php.net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Livedocs problem
Bug description: Empty entities are not matched properly
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.
--
Edit bug report at http://bugs.php.net/?id=37254&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37254&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37254&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37254&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37254&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37254&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37254&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37254&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37254&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37254&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37254&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37254&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37254&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37254&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37254&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37254&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37254&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37254&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37254&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37254&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37254&r=mysqlcfg