@@ -3,7 +3,8 @@
|
||||
Version 2.0-beta4 / RC? ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
||||
* Improve RegExp for Feed-URL matching, thanks to fugue88
|
||||
|
||||
Version 2.0-beta3 (July 25th, 2014)
|
||||
------------------------------------------------------------------------
|
||||
|
||||
|
@@ -334,7 +334,7 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
|
||||
}
|
||||
|
||||
if (is_array($matches)) {
|
||||
if (preg_match('@(/?' . preg_quote(PATH_FEEDS, '@') . '/)(.+)\.rss@i', $uri, $uriparts)) {
|
||||
if (preg_match('@(/?' . preg_quote(PATH_FEEDS, '@') . '/)(.+?)(?:\.rss)?$@i', $uri, $uriparts)) {
|
||||
if (strpos($uriparts[2], $serendipity['permalinkCategoriesPath']) === 0) {
|
||||
$catid = serendipity_searchPermalink($serendipity['permalinkFeedCategoryStructure'], $uriparts[2], $matches[1], 'category');
|
||||
if (is_numeric($catid) && $catid > 0) {
|
||||
|
Reference in New Issue
Block a user