Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26024
Modified Files:
Tag: branch_0_6
serendipity_config.inc.php
Log Message:
* Fixed htmlentites acceptance for foreign language entry titles
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.63.2.1
retrieving revision 1.63.2.2
diff -u -d -r1.63.2.1 -r1.63.2.2
--- serendipity_config.inc.php 4 Apr 2004 16:07:03 -0000 1.63.2.1
+++ serendipity_config.inc.php 13 Apr 2004 10:32:03 -0000 1.63.2.2
@@ -38,9 +38,9 @@
*/
include($serendipity['serendipityPath'] . 'serendipity_lang.inc.php');
-/* URI paths
+/* URI paths
* These could be defined in the language headers, except that would break
- * backwards URL compatibility
+ * backwards URL compatibility
*/
@define('PATH_ARCHIVES', 'archives');
@define('PATH_ARCHIVE', 'archive');
@@ -50,13 +50,13 @@
@define('PATH_ENTRIES', 'entries');
@define('PATH_CATEGORIES', 'categories');
-/* URI patterns
+/* URI patterns
* Note that it's important to use @ as the pattern delimiter.
*/
@define('PAT_UNSUBSCRIBE', '@/'.PATH_UNSUBSCRIBE.'/(.*)/([0-9]+)@');
@define('PAT_ARCHIVES', '@/'.PATH_ARCHIVES.'/(\d+)\.html@');
@define('PAT_ARCHIVES_SHORT', '@/'.PATH_ARCHIVES.'/(\d+)_short\.html@');
-@define('PAT_COMMENTSUB', '@/(\d+)_\w*\.html@i');
+@define('PAT_COMMENTSUB', '@/(\d+)_[\w%]*\.html@i');
@define('PAT_FEEDS', '@/'.PATH_FEEDS.'/@');
@define('PAT_FEED', '@/(index|atom|rss|b2rss|b2rdf).(rss|rdf|rss2|xml)$@');
@define('PAT_ADMIN', '@/'.PATH_ADMIN.'$@');
|