]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/tla.pm
cloak user PII when making commits etc, and let cloaked PII be used in banned_users
[git.ikiwiki.info.git] / IkiWiki / Plugin / tla.pm
index 11be248e8da9d90fe050da1ad57f643a7ae0cdf1..c2fffbcedba5a27cafb54fd686cbe6ae1f63b979 100644 (file)
@@ -108,12 +108,12 @@ sub rcs_commit (@) {
        if (defined $params{session}) {
                if (defined $params{session}->param("name")) {
                        $message="web commit by ".
-                               $params{session}->param("name").
+                               IkiWiki::cloak($params{session}->param("name")).
                                (length $message ? ": $message" : "");
                }
                elsif (defined $params{session}->remote_addr()) {
                        $message="web commit from ".
-                               $params{session}->remote_addr().
+                               IkiWiki::cloak($params{session}->remote_addr()).
                                (length $message ? ": $message" : "");
                }
        }