Fixed it so the mod_rewrite regex no longer matches EVERY URI.

git-svn-id: http://svn.automattic.com/wordpress/trunk@573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-12-05 20:14:07 +00:00
parent bc2c6dad9a
commit e011cfc534
1 changed files with 3 additions and 1 deletions

View File

@ -122,8 +122,10 @@ $queryreplace = array (
$match = str_replace('/', '/?', $permalink_structure);
$match = str_replace($rewritecode, $rewritereplace, $match);
$match = preg_replace('|/[?]|', '', $match, 1);
$match = str_replace($rewritecode, $rewritereplace, $match);
$match = preg_replace('|[?]|', '', $match, 1);
preg_match_all('/%.+?%/', $permalink_structure, $tokens);
$query = 'index.php?';