From 62405fb60d3153fbacba4936086587860f495fce Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 4 Apr 2014 00:39:41 +0000 Subject: filter: use regexp to check multipart bodies This should be safer than running file(1), which has had its share of vulnerabilities this year (early 2014) We really only care about diffs and maybe short log files, here. --- t/filter.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/filter.t b/t/filter.t index 0aa26a5f..ac9f1f6f 100644 --- a/t/filter.t +++ b/t/filter.t @@ -291,6 +291,8 @@ int main(void) printf("Hello world\\n"); return 0; } + +/* some folks like ^L */ EOF ), Email::MIME->create( -- cgit v1.2.3-24-ge0c7