From: slothman Date: Mon, 18 Dec 2006 16:04:20 +0000 (+0000) Subject: Implemented slash fix suggested in forums by Timbalu X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f11866cfceedaf72fcc86ccde4aa289116dbc475;p=s9y.git Implemented slash fix suggested in forums by Timbalu --- diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index 3bef5fc..a25440f 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -715,7 +715,7 @@ function serendipity_currentURL($strict = false) { } $uri['path'] = preg_replace('@^' . preg_quote($serendipity['serendipityHTTPPath']) . '@i', ($strict ? '/' : ''), $uri['path']); $uri['path'] = preg_replace('@^(&)?' . preg_quote($serendipity['indexFile']) . '(&)@i', '', $uri['path']); - $url = $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?' . $uri['path'] . $qst; + $url = $serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?/' . $uri['path'] . $qst; $url = str_replace( array( $serendipity['indexFile'] . '&',