diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-04 01:47:07 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-04 01:47:07 +0000 |
commit | 5077165953e9460e189ae5d8dcb9533f8944d272 (patch) | |
tree | a46b5814dfcf07110c0a399d78885514020e3090 | |
parent | e36f6b6a99c0472d3ca79762305d690c494d483c (diff) | |
download | ikiwiki-5077165953e9460e189ae5d8dcb9533f8944d272.tar ikiwiki-5077165953e9460e189ae5d8dcb9533f8944d272.tar.gz |
revert this, it seems wrong
-rw-r--r-- | IkiWiki.pm | 4 | ||||
-rw-r--r-- | debian/changelog | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 1a5cf52dd..a732be999 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -272,9 +272,7 @@ sub pagetitle ($) { #{{{ 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; } #}}} diff --git a/debian/changelog b/debian/changelog index 2cd304a33..2f5f2afd1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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. - * 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 |