From: Geoffrey T. D. <da...@us...> - 2001-11-06 20:42:00
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv28936/lib Modified Files: Tag: release-1_2-branch display.php Log Message: Fix handling of pages with '.' and/or '_' in their names. Index: display.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/display.php,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -C2 -r1.5.2.1 -r1.5.2.2 *** display.php 2001/02/08 18:28:31 1.5.2.1 --- display.php 2001/11/06 20:41:56 1.5.2.2 *************** *** 10,14 **** $QUERY_STRING = $argv[0]; ! if (isset($QUERY_STRING) && preg_match('/^[-+%\w]+$/', $QUERY_STRING)) { $pagename = urldecode($QUERY_STRING); } else { --- 10,14 ---- $QUERY_STRING = $argv[0]; ! if (isset($QUERY_STRING) && preg_match('/^[-_.+%\w]+$/', $QUERY_STRING)) { $pagename = urldecode($QUERY_STRING); } else { |