Tighter check for multi category names
This commit is contained in:
@@ -404,9 +404,11 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
|
||||
$serendipity['uriArguments'][] = PATH_CATEGORIES;
|
||||
$serendipity['uriArguments'][] = serendipity_db_escape_string($serendipity['GET']['category']) . '-multi';
|
||||
} elseif (preg_match('@/([0-9;]+)@', $uri, $multimatch)) {
|
||||
if (stristr($multimatch[1], ';')) {
|
||||
$is_multicat = true;
|
||||
$serendipity['GET']['category'] = $multimatch[1];
|
||||
}
|
||||
}
|
||||
|
||||
$serendipity['GET']['action'] = 'read';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user