diff options
author | http://apoca.myopenid.com/ <http://apoca.myopenid.com/@web> | 2010-01-18 17:25:13 +0000 |
---|---|---|
committer | Joey Hess <joey@finch.kitenet.net> | 2010-01-18 17:25:13 +0000 |
commit | f072f3a9c57bc590b4fb754a7cf65b5f93684006 (patch) | |
tree | 2b90a8096cdea2e152ed7d57982e3303ef7f8477 | |
parent | 9c0c8b57fb9ccaf21888a7eb9e93dc0d312773e0 (diff) |
-rw-r--r-- | doc/bugs/removing_pages_with_utf8_characters.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/removing_pages_with_utf8_characters.mdwn b/doc/bugs/removing_pages_with_utf8_characters.mdwn new file mode 100644 index 000000000..a962a328a --- /dev/null +++ b/doc/bugs/removing_pages_with_utf8_characters.mdwn @@ -0,0 +1,18 @@ +I have a page with the name "umläute". When I try to remove it, ikiwiki says: + +Error: ?umläute does not exist + +I wrote the following patch, which seems to work on my machine. I'm running on FreeBSD 6.3-RELEASE with ikiwiki-3.20100102.3 and perl-5.8.9_3. + + --- remove.pm.orig 2009-12-14 23:26:20.000000000 +0100 + +++ remove.pm 2010-01-18 17:49:39.000000000 +0100 + @@ -193,6 +193,7 @@ + # and that the user is allowed to edit(/remove) it. + my @files; + foreach my $page (@pages) { + + $page = Encode::decode_utf8($page); + check_canremove($page, $q, $session); + + # This untaint is safe because of the + + |