Revert permalink change, breaks too much.
Instead, freetag plugin was patched
This commit is contained in:
parent
8102fd2de6
commit
57ad449f32
@ -5,8 +5,7 @@ Version 1.2 ()
|
|||||||
|
|
||||||
* Fix permalink patterns for some cases to properly detect
|
* Fix permalink patterns for some cases to properly detect
|
||||||
pagination variables instead of interpreting search words
|
pagination variables instead of interpreting search words
|
||||||
as those, and fix problems when "." appears within permalinks
|
as those. (garvinhicking)
|
||||||
(garvinhicking)
|
|
||||||
|
|
||||||
* Improve performance of displaying the complete archive. Instead
|
* Improve performance of displaying the complete archive. Instead
|
||||||
of year*months SQL queries, only one query is now used.
|
of year*months SQL queries, only one query is now used.
|
||||||
|
@ -755,7 +755,7 @@ function serendipity_getUriArguments($uri, $wildcard = false) {
|
|||||||
global $serendipity;
|
global $serendipity;
|
||||||
|
|
||||||
/* Explode the path into sections, to later be able to check for arguments and add our own */
|
/* Explode the path into sections, to later be able to check for arguments and add our own */
|
||||||
preg_match('/^'. preg_quote($serendipity['serendipityHTTPPath'], '/') . '(' . preg_quote($serendipity['indexFile'], '/') . '\?\/)?(' . ($wildcard ? '.+' : '[;,_a-z\.0-9\-*\/%\+]+') . ')/i', $uri, $_res);
|
preg_match('/^'. preg_quote($serendipity['serendipityHTTPPath'], '/') . '(' . preg_quote($serendipity['indexFile'], '/') . '\?\/)?(' . ($wildcard ? '.+' : '[;,_a-z0-9\-*\/%\+]+') . ')/i', $uri, $_res);
|
||||||
if (strlen($_res[2]) != 0) {
|
if (strlen($_res[2]) != 0) {
|
||||||
$args = explode('/', $_res[2]);
|
$args = explode('/', $_res[2]);
|
||||||
if ($args[0] == 'index') {
|
if ($args[0] == 'index') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user