]> sipb.mit.edu Git - ikiwiki.git/commitdiff
revert this, it seems wrong
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 4 Aug 2006 01:47:07 +0000 (01:47 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 4 Aug 2006 01:47:07 +0000 (01:47 +0000)
IkiWiki.pm
debian/changelog

index 1a5cf52ddea717bf366351e4a79c18460be3006a..a732be99956bda3c0539c5a6c1e9650ccc595376 100644 (file)
@@ -272,9 +272,7 @@ sub pagetitle ($) { #{{{
 sub titlepage ($) { #{{{
        my $title=shift;
        $title=~y/ /_/;
 sub titlepage ($) { #{{{
        my $title=shift;
        $title=~y/ /_/;
-       # Note: [:alnum:] is not used here, on purpose; unicode
-       # not allowed in urls.
-       $title=~s/([^-A-Za-z0-9_:+\/.])/"__".ord($1)."__"/eg;
+       $title=~s/([^-[:alnum:]_:+\/.])/"__".ord($1)."__"/eg;
        return $title;
 } #}}}
 
        return $title;
 } #}}}
 
index 2cd304a33b19424fa68bfbfe2d7c2a0728111d91..2f5f2afd1506b086f8d0906bef0964c842965e0b 100644 (file)
@@ -7,9 +7,6 @@ ikiwiki (1.16) UNRELEASED; urgency=low
   * Make aggregator save permalinks and author name to pages as metadata.
   * Add permalink and author support to meta plugin, affecting RSS feeds
     and blog pages.
   * Make aggregator save permalinks and author name to pages as metadata.
   * Add permalink and author support to meta plugin, affecting RSS feeds
     and blog pages.
-  * Change titlepage() to encode utf-8 alnum characters. This is necessary
-    to avoid UTF-8 creeping into filenames in urls. (There are still
-    some other ways that it can get in.)
   * Various CSS and formatting changes.
 
  -- Joey Hess <joeyh@debian.org>  Thu,  3 Aug 2006 18:45:36 -0400
   * Various CSS and formatting changes.
 
  -- Joey Hess <joeyh@debian.org>  Thu,  3 Aug 2006 18:45:36 -0400