From: garvinhicking Date: Sun, 2 Dec 2007 15:06:45 +0000 (+0000) Subject: backport X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=572ee7a1e98b4a39fa9d66a145e52ef8c658848d;p=s9y.git backport --- diff --git a/docs/NEWS b/docs/NEWS index 279ae24..10fcd1d 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 1.2.1 () ------------------------------------------------------------------------ + * Fix proper encoding of '%' sign when used in post titles + (garvinhicking) + * Encode RSS feed links, Patch by Hanno Boeck * Fix spartacus filter listing showing event plugin groups in the diff --git a/include/functions_permalinks.inc.php b/include/functions_permalinks.inc.php index 8d07ff6..ca97a35 100644 --- a/include/functions_permalinks.inc.php +++ b/include/functions_permalinks.inc.php @@ -22,6 +22,7 @@ if (defined('S9Y_FRAMEWORK_PERMALINKS')) { function serendipity_makeFilename($str, $stripDots = false) { static $from = array( ' ', + '%', 'Ä', 'ä', @@ -65,6 +66,7 @@ function serendipity_makeFilename($str, $stripDots = false) { static $to = array( '-', + '%25', 'AE', 'ae',