From: Geoffrey T. D. <da...@us...> - 2001-02-21 17:15:44
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv23751/lib Modified Files: main.php Log Message: Recursive bug fix. (Ie. fix stupid bug introduced in the last bug fix.) Index: main.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/main.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** main.php 2001/02/20 13:44:03 1.8 --- main.php 2001/02/21 17:16:44 1.9 *************** *** 36,40 **** } ! if (isset($QUERY_STRING) && !preg_match('/[&=]/', $QUERY_STRING)) return urldecode(fix_magic_quotes_gpc($QUERY_STRING)); --- 36,40 ---- } ! if (isset($QUERY_STRING) && preg_match('/^[^&=]+$/', $QUERY_STRING)) return urldecode(fix_magic_quotes_gpc($QUERY_STRING)); |