From: Philipp Takacs Date: Mon, 19 Sep 2016 16:23:39 +0000 (+0200) Subject: decode rfc2047 header in mhparse X-Git-Tag: mmh-0.4~38 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=4fbfa159384d4f0230d96999164b630f17c5e4a5;p=mmh decode rfc2047 header in mhparse attachment filenames are mostly rfc2047 encoded. Now all mime header are decoded to avoid problems. --- diff --git a/test/tests/mhstore/test-filenames b/test/tests/mhstore/test-filenames new file mode 100755 index 0000000..a1d3c3d --- /dev/null +++ b/test/tests/mhstore/test-filenames @@ -0,0 +1,86 @@ +#!/bin/sh +###################################################### +# +# Test filenames +# +###################################################### + +. "$MH_TEST_COMMON" + +require_locale en_US.utf-8 en_US.utf8 +LC_ALL=en_US.UTF-8 +export LC_ALL + +tempdir=`TMPDIR=$MH_TEST_DIR mktemp -d -t "XXXXX"` +cd $tempdir + +msgfile=`mhpath b` +cat > $msgfile <c_begin = ftell(in) + 1; continue;