Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv2707/phpwiki/lib
Modified Files:
Tag: release-1_2-branch
stdlib.php
Log Message:
Fixed page title, now uses SPLIT_PAGE to prevent editing the wrong page (Bug introduced Dec 2&3).
Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.21.2.10
retrieving revision 1.21.2.11
diff -C2 -r1.21.2.10 -r1.21.2.11
*** stdlib.php 2001/12/04 21:32:06 1.21.2.10
--- stdlib.php 2001/12/04 23:17:27 1.21.2.11
***************
*** 577,580 ****
--- 577,581 ----
_dotoken('SCRIPTURL', $ScriptUrl, $page);
_dotoken('PAGE', htmlspecialchars($name), $page);
+ _dotoken('SPLIT_PAGE', htmlspecialchars(split_pagename($name)), $page);
_dotoken('ALLOWEDPROTOCOLS', $AllowedProtocols, $page);
_dotoken('LOGO', $logo, $page);
|