]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/bzr.pm
Merge branch 'master' into debian-jessie-backports
[git.ikiwiki.info.git] / IkiWiki / Plugin / bzr.pm
index e2b102dee9403014271edc26e6683eb7a1933e5a..5ec254f84ff9af7a9a3cd69b73902923b43527bc 100644 (file)
@@ -133,10 +133,10 @@ sub bzr_author ($) {
        my $ipaddr=$session->remote_addr();
 
        if (defined $user) {
        my $ipaddr=$session->remote_addr();
 
        if (defined $user) {
-               return IkiWiki::possibly_foolish_untaint($user);
+               return IkiWiki::possibly_foolish_untaint(IkiWiki::cloak($user));
        }
        elsif (defined $ipaddr) {
        }
        elsif (defined $ipaddr) {
-               return "Anonymous from ".IkiWiki::possibly_foolish_untaint($ipaddr);
+               return "Anonymous from ".IkiWiki::possibly_foolish_untaint(IkiWiki::cloak($ipaddr));
        }
        else {
                return "Anonymous";
        }
        else {
                return "Anonymous";