Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

297 B
Raw Blame
use strict;
use warnings;

sub scrub_text {
    return if /^\x89PNG/ || /^PK\x03\x04/;

    s/opensesame/xxxxxxxxxx/g;
    s/hunter2/xxxxxxx/g;
}

sub scrub_filename {
    if ( m%^secret-directory/% || m%settings\.ini$% ) {
        undef $_;
    }
    else {
        s/bruce/batman/g;
    }
}

1;