]> Sergey Matveev's repositories - public-inbox.git/commit
filter: use regexp to check multipart bodies
authorEric Wong <normalperson@yhbt.net>
Fri, 4 Apr 2014 00:39:41 +0000 (00:39 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 4 Apr 2014 00:42:55 +0000 (00:42 +0000)
commit62405fb60d3153fbacba4936086587860f495fce
tree10782344fa6185028e8f0a431bcd5234501acdc4
parent6c775a61d97e0318e76443adb05f6b71a26a41c9
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.
lib/PublicInbox/Filter.pm
t/filter.t