]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/monotone.pm
Call srcfile() with nothrow, as clearly intended.
[git.ikiwiki.info.git] / IkiWiki / Plugin / monotone.pm
index 105627814b793fa5ff868ceff7c07e00c3dd9078..b0bba5661541843bb1440bffe5c466ae88dc238d 100644 (file)
@@ -310,10 +310,10 @@ sub commitauthor (@) {
 
        if (defined $params{session}) {
                if (defined $params{session}->param("name")) {
-                       return "Web user: " . $params{session}->param("name");
+                       return "Web user: " . IkiWiki::cloak($params{session}->param("name"));
                }
                elsif (defined $params{session}->remote_addr()) {
-                       return "Web IP: " . $params{session}->remote_addr();
+                       return "Web IP: " . IkiWiki::cloak($params{session}->remote_addr());
                }
        }
        return "Web: Anonymous";