]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Fix missing import of escapeHTML in userlink. (Scott Bronson)
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 10 Apr 2008 21:39:51 +0000 (17:39 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 10 Apr 2008 21:39:51 +0000 (17:39 -0400)
IkiWiki.pm
debian/changelog
doc/bugs/Undefined_subroutine_IkiWiki::escapeHTML.mdwn

index d1b65cd5129365db7e5998da7627e08f5dd0ae7f..68047b9b94c9c187122fd3a5b61fb25c57c03c75 100644 (file)
@@ -621,6 +621,9 @@ sub userlink ($) { #{{{
                return "<a href=\"$user\">$oiduser</a>";
        }
        else {
+               eval q{use CGI 'escapeHTML'};
+               error($@) if $@;
+
                return htmllink("", "", escapeHTML(
                        length $config{userdir} ? $config{userdir}."/".$user : $user
                ), noimageinline => 1);
index a1797b8efbfce21837572fb0eaec82cabcfc2750..7d02f5924a634378135d5cf4a7b73ebae4ec95f4 100644 (file)
@@ -1,3 +1,9 @@
+ikiwiki (2.43) UNRELEASED; urgency=low
+
+  * Fix missing import of escapeHTML in userlink. (Scott Bronson)
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 10 Apr 2008 17:36:53 -0400
+
 ikiwiki (2.42) unstable; urgency=high
 
   * aggregate: Correct a mistake in the code that dummy up a guid for feeds
index f1f27eba8cb2b5a7d970b01847eeacacd9c68e55..3efbb65a0a5facbd56bea18a5bb4d9b1b004f545 100644 (file)
@@ -19,3 +19,8 @@ This patch appears to fix it for me:
                ), noimageinline => 1);
 
 That's dirty and wrong though... Can you suggest a better fix?  -- [[sabr]]
+
+> Hmm, I think I've not noticed this because the openid plugin hides it. 
+> Bet you have openid disabled.
+> 
+> Anyway, your fix is fine, [[applied|done]]. --[[Joey]]