Fix matching "." character for comments
This commit is contained in:
parent
055aa32d6a
commit
eb3c39406c
@ -466,11 +466,12 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
|
|||||||
exit;
|
exit;
|
||||||
} else if (preg_match(PAT_COMMENTS, $uri, $matches)) {
|
} else if (preg_match(PAT_COMMENTS, $uri, $matches)) {
|
||||||
$serendipity['view'] = 'comments';
|
$serendipity['view'] = 'comments';
|
||||||
$_args = $serendipity['uriArguments'];
|
$_args = serendipity_getUriArguments($uri, true); // Need to also match "." character
|
||||||
$timedesc = array();
|
$timedesc = array();
|
||||||
|
|
||||||
/* Attempt to locate hidden variables within the URI */
|
/* Attempt to locate hidden variables within the URI */
|
||||||
$search = array();
|
$search = array();
|
||||||
|
print_r($_args);
|
||||||
foreach ($_args as $k => $v){
|
foreach ($_args as $k => $v){
|
||||||
if ($v == PATH_COMMENTS) {
|
if ($v == PATH_COMMENTS) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user