[php-blog-cvs] r1546 - trunk/include
A reliable, secure & extensible PHP blog | Not mainstream since 2002
Brought to you by:
garvinhicking,
jhermanns
From: slothman at B. <slo...@ma...> - 2006-12-18 16:04:32
|
Author: slothman Date: 2006-12-18 17:04:20 +0100 (Mon, 18 Dec 2006) New Revision: 1546 Modified: trunk/include/functions_permalinks.inc.php Log: Implemented slash fix suggested in forums by Timbalu Modified: trunk/include/functions_permalinks.inc.php =================================================================== --- trunk/include/functions_permalinks.inc.php 2006-12-11 11:52:43 UTC (rev 1545) +++ trunk/include/functions_permalinks.inc.php 2006-12-18 16:04:20 UTC (rev 1546) @@ -715,7 +715,7 @@ } $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'] . '&', |