]> sipb.mit.edu Git - ikiwiki.git/commitdiff
bleagh
authorJoey Hess <joey@kitenet.net>
Mon, 24 Jan 2011 20:56:28 +0000 (16:56 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 24 Jan 2011 20:56:28 +0000 (16:56 -0400)
IkiWiki/Plugin/comments.pm
debian/changelog

index d9183970d8b1525c34a69a68dcec57fa88eaf58e..6691dbafa2e0b0f74055992331b2d899616fd85b 100644 (file)
@@ -365,7 +365,7 @@ sub editcomment ($$) {
 
        # The untaint is OK (as in editpage) because we're about to pass
        # it to file_pruned and wiki_file_regexp anyway.
-       my $page = $form->field('page')=~/$config{wiki_file_regexp}/;
+       my ($page) = $form->field('page')=~/$config{wiki_file_regexp}/;
        $page = IkiWiki::possibly_foolish_untaint($page);
        if (! defined $page || ! length $page ||
                IkiWiki::file_pruned($page)) {
index b6465a2f1b0eb9e0562766b535dfad1b3fca4fb4..94eb507e6afb59e0b2b2bb4d2f089588ef41e055 100644 (file)
@@ -1,3 +1,9 @@
+ikiwiki (3.20110124) UNRELEASED; urgency=low
+
+  * comments: Fix commenting, broken by security fix.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 24 Jan 2011 16:56:05 -0400
+
 ikiwiki (3.20110123) unstable; urgency=low
 
   * Adapt autoindex test suite to work with old Test::More.