Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mless: drop PATH change | Leah Neukirchen | 2018-01-06 | 1 | -2/+0 |
| | |||||
* | mverify: drop dependency on unix2dos and bash | Leah Neukirchen | 2018-01-06 | 1 | -4/+5 |
| | |||||
* | mverify: use -r for plain text signatures | Leah Neukirchen | 2018-01-06 | 1 | -1/+1 |
| | |||||
* | mless: allow overriding of colors in colorscan | Leah Neukirchen | 2018-01-04 | 1 | -2/+3 |
| | | | | Fixes #81. | ||||
* | mlist: listarg: list empty Maildirs if no filtering took place | Leah Neukirchen | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | mlist: list: update total count too | Leah Neukirchen | 2018-01-01 | 1 | -0/+1 |
| | |||||
* | mshow: list, reply: skip leading spaces for file names | Leah Neukirchen | 2017-12-06 | 1 | -0/+4 |
| | |||||
* | rfc2047: blaze822_decode_rfc2047: check for NUL bytes at the very end of ↵ | Leah Neukirchen | 2017-12-05 | 1 | -3/+9 |
| | | | | decoding | ||||
* | rfc2047: blaze822_decode_rfc2047: don't decode encoded-words that contain ↵ | Leah Neukirchen | 2017-12-05 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | NUL bytes This is a lax interpretation of RFC 2047, 4.5: > Only printable and white space character data should be encoded using > this scheme. However, since these encoding schemes allow the > encoding of arbitrary octet values, mail readers that implement this > decoding should also ensure that display of the decoded data on the > recipient's terminal will not cause unwanted side-effects. Since many of the code that deals with header values does not support inline NUL bytes, it's best to not decode them here. We check for this after iconv, so quoted-printable UTF-32 e.g. should be safe. Also see https://www.mailsploit.com/ | ||||
* | mscan: fetch window size from /dev/tty | Leah Neukirchen | 2017-11-28 | 1 | -1/+4 |
| | | | | Fixes mscan width inside mless. | ||||
* | u8decode: detect invalid encodings | Leah Neukirchen | 2017-11-23 | 1 | -4/+12 |
| | |||||
* | revamp utf-8 handling code | Leah Neukirchen | 2017-11-22 | 3 | -58/+64 |
| | |||||
* | magrep: keep threading while matching body | Duncaen | 2017-11-15 | 1 | -4/+5 |
| | |||||
* | GNUmakefile: prefer CFLAGS from env, move hardening to overridable default flags | Leah Neukirchen | 2017-11-14 | 1 | -2/+2 |
| | |||||
* | t: add test case for latest magrep crash | Duncaen | 2017-11-11 | 1 | -1/+128 |
| | | | | | This crash was reported in #76 and resolved with commit 6239ef35357824308df079bd6df0dc4b202e898. | ||||
* | rfc2047: blaze822_decide_rfc2047: ensure enough space for NUL-termination | Leah Neukirchen | 2017-11-11 | 1 | -2/+2 |
| | | | | Closes #76. | ||||
* | mflow: flowed: ensure progress by printing at least one word each time | Leah Neukirchen | 2017-11-09 | 1 | -1/+2 |
| | | | | Even if this overflows the line length... | ||||
* | mflow: flowed: reevaluate termination after line break. | Leah Neukirchen | 2017-11-09 | 1 | -0/+1 |
| | |||||
* | mscan: display TO: address decode | Leah Neukirchen | 2017-11-08 | 1 | -1/+3 |
| | |||||
* | mlist: use a static buffer, clean up control flow | Leah Neukirchen | 2017-10-29 | 1 | -7/+5 |
| | |||||
* | mpick: add negations | Duncaen | 2017-10-26 | 2 | -6/+26 |
| | |||||
* | mmsg.7: consistently speak of sequences and ranges | Leah Neukirchen | 2017-10-25 | 1 | -2/+2 |
| | |||||
* | mshow: use %ld for longs | Leah Neukirchen | 2017-10-13 | 1 | -6/+6 |
| | |||||
* | blaze822: blaze822_addr: ensure strlen is not run on null pointer | Leah Neukirchen | 2017-10-08 | 1 | -1/+1 |
| | | | | Found by Larry Hynes. | ||||
* | mscan: revert width to int | Leah Neukirchen | 2017-10-06 | 1 | -3/+3 |
| | |||||
* | mshow: render_mime: fix logic bug | Leah Neukirchen | 2017-10-06 | 1 | -1/+1 |
| | |||||
* | mhdr: do not return void values | Leah Neukirchen | 2017-10-06 | 1 | -4/+8 |
| | |||||
* | use appropriate integer types | Leah Neukirchen | 2017-10-06 | 10 | -21/+23 |
| | | | | Mainly found with clang -Wconversion -Wshorten-64-to-32. | ||||
* | blaze822: blaze822_addr: quote local-part if needed | Leah Neukirchen | 2017-10-03 | 1 | -0/+26 |
| | |||||
* | rfc2047: blaze822_decode_qp: decode invalid qp-codes as literal | Leah Neukirchen | 2017-09-27 | 1 | -3/+3 |
| | |||||
* | mshow: add -F to disable MIME filters | Leah Neukirchen | 2017-09-22 | 2 | -4/+8 |
| | |||||
* | mcom: automatically run mmime when deemed necessary | Leah Neukirchen | 2017-09-22 | 1 | -16/+27 |
| | |||||
* | mmime: gen_qp: quote ^From and ^.$ to be safe | Leah Neukirchen | 2017-09-21 | 1 | -1/+5 |
| | |||||
* | mmime: gen_qp: encode trailing space and tab as =20/=09 | Leah Neukirchen | 2017-09-19 | 1 | -1/+12 |
| | | | | | | | | See RFC2045 6.7.(3): > It follows that an octet with decimal value 9 or 32 appearing at the > end of an encoded line must be represented according to Rule #1. Prefer this over generating a soft-line break and then a real line break. | ||||
* | mflow: only accept flowed line with final space when reflowing | Leah Neukirchen | 2017-09-19 | 1 | -1/+1 |
| | |||||
* | GNUmakefile: fix OpenBSD build | Leah Neukirchen | 2017-09-19 | 1 | -1/+1 |
| | | | | By sunil@nimmagadda.net. | ||||
* | GNUmakefile: tweaks to make it easier for OpenBSD ports | Leah Neukirchen | 2017-09-16 | 1 | -3/+5 |
| | |||||
* | mflow: fix argument parsing | Leah Neukirchen | 2017-09-06 | 1 | -2/+2 |
| | |||||
* | mflow: only space stuff when really reflowing | Leah Neukirchen | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | mflow: add wrapping of long lines, add argument parsing, add quoting | Leah Neukirchen | 2017-09-06 | 2 | -7/+41 |
| | |||||
* | mshow: show: treat non-mime mails as single-part text/plain mails | Leah Neukirchen | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | contrib: add mrecode | Leah Neukirchen | 2017-09-06 | 1 | -0/+8 |
| | |||||
* | mhdr: add -p to extract MIME parameters | Leah Neukirchen | 2017-09-06 | 3 | -4/+27 |
| | |||||
* | mflow: assume no reflow by default, when content-type exists | Leah Neukirchen | 2017-09-02 | 1 | -0/+1 |
| | |||||
* | mflow: flowed: add case where the word is too long for a line | Leah Neukirchen | 2017-09-02 | 1 | -1/+2 |
| | |||||
* | mflag: fix behavior with no arguments and reading from not a tty | Leah Neukirchen | 2017-09-01 | 1 | -0/+5 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 28 | -185/+185 |
| | |||||
* | mquote: make sed expression to strip signature work with busybox sed | Sören Tempel | 2017-08-22 | 1 | -1/+1 |
| | | | | Closes: #74 [via git-merge-pr] | ||||
* | mgenmid: printb36: fix off-by-one | Leah Neukirchen | 2017-08-21 | 1 | -1/+2 |
| | | | | Closes #73. | ||||
* | mshow: render_mime: avoid indexing into empty buffer | Leah Neukirchen | 2017-08-21 | 1 | -1/+1 |
| | | | | Found using spam corpus at http://untroubled.org/spam/2017-08.7z |