From: garvinhicking <garvinhicking> Date: Thu, 17 Aug 2006 08:44:41 +0000 (+0000) Subject: Fix matching "." character for comments X-Git-Tag: 1.1~123 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=13f0fef7fc40365b004ea7f75a9989cb727a68d7;p=s9y.git Fix matching "." character for comments --- diff --git a/index.php b/index.php index 67fbc5f..061b499 100644 --- a/index.php +++ b/index.php @@ -466,11 +466,12 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range exit; } else if (preg_match(PAT_COMMENTS, $uri, $matches)) { $serendipity['view'] = 'comments'; - $_args = $serendipity['uriArguments']; + $_args = serendipity_getUriArguments($uri, true); // Need to also match "." character $timedesc = array(); /* Attempt to locate hidden variables within the URI */ $search = array(); + print_r($_args); foreach ($_args as $k => $v){ if ($v == PATH_COMMENTS) { continue;