Creating a page that has the following markup:
[A name | ]
will cause an empty page name. One can save this. Then,
upon display this will hit an assert at WikiDB.php,
WikiDB_Page::WikiDB_Page(), line 518 or so:
lib/WikiDB.php:518: Fatal: <br /><path
here>/phpwiki/lib/WikiDB.php:518: : Assertion failed
This is behavior as of 1.3.9. Actually, the assertion
has changed in 1.3.11, but I believe it will still fire.
We should either allow an empty page name, or prevent
this from being saved.
Log in to post a comment.