diff --git a/docs/NEWS b/docs/NEWS index cdb2869c..da64dca6 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.6 () ------------------------------------------------------------------------ + * Bugfix: Adjust /admin permalink detection so that it does not listen + on /adminbook for example. Thanks to Lux! + * serendipity_event_mailer now also allows to use commas instead of spaces to seperate multiple mails. Use distinct email adresses (Thanks to evanslee) diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index 1ec87f35..e28b036c 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -287,7 +287,7 @@ function &serendipity_permalinkPatterns($return = false) { $PAT['DELETE'] = '@/' . $serendipity['permalinkDeletePath'].'/(.*)/(.*)/([0-9]+)@'; $PAT['ARCHIVES'] = '@/' . $serendipity['permalinkArchivesPath'].'([/A-Za-z0-9]+)\.html@'; $PAT['FEEDS'] = '@/' . $serendipity['permalinkFeedsPath'].'/@'; - $PAT['ADMIN'] = '@/(' . $serendipity['permalinkAdminPath'] . '|entries)(/.+)?@'; + $PAT['ADMIN'] = '@/(' . $serendipity['permalinkAdminPath'] . '|entries)(/.+)?$@'; $PAT['ARCHIVE'] = '@/' . $serendipity['permalinkArchivePath'] . '/?@'; $PAT['CATEGORIES'] = '@/' . $serendipity['permalinkCategoriesPath'].'/([0-9;]+)@'; $PAT['PLUGIN'] = '@/(' . $serendipity['permalinkPluginPath'] . '|plugin)/(.*)@';