summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* mlist: listarg: list empty Maildirs if no filtering took placeLeah Neukirchen2018-01-011-1/+1
|
* mlist: list: update total count tooLeah Neukirchen2018-01-011-0/+1
|
* mshow: list, reply: skip leading spaces for file namesLeah Neukirchen2017-12-061-0/+4
|
* rfc2047: blaze822_decode_rfc2047: check for NUL bytes at the very end of ↵Leah Neukirchen2017-12-051-3/+9
| | | | decoding
* rfc2047: blaze822_decode_rfc2047: don't decode encoded-words that contain ↵Leah Neukirchen2017-12-051-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/ttyLeah Neukirchen2017-11-281-1/+4
| | | | Fixes mscan width inside mless.
* u8decode: detect invalid encodingsLeah Neukirchen2017-11-231-4/+12
|
* revamp utf-8 handling codeLeah Neukirchen2017-11-223-58/+64
|
* magrep: keep threading while matching bodyDuncaen2017-11-151-4/+5
|
* GNUmakefile: prefer CFLAGS from env, move hardening to overridable default flagsLeah Neukirchen2017-11-141-2/+2
|
* t: add test case for latest magrep crashDuncaen2017-11-111-1/+128
| | | | | This crash was reported in #76 and resolved with commit 6239ef35357824308df079bd6df0dc4b202e898.
* rfc2047: blaze822_decide_rfc2047: ensure enough space for NUL-terminationLeah Neukirchen2017-11-111-2/+2
| | | | Closes #76.
* mflow: flowed: ensure progress by printing at least one word each timeLeah Neukirchen2017-11-091-1/+2
| | | | Even if this overflows the line length...
* mflow: flowed: reevaluate termination after line break.Leah Neukirchen2017-11-091-0/+1
|
* mscan: display TO: address decodeLeah Neukirchen2017-11-081-1/+3
|
* mlist: use a static buffer, clean up control flowLeah Neukirchen2017-10-291-7/+5
|
* mpick: add negationsDuncaen2017-10-262-6/+26
|
* mmsg.7: consistently speak of sequences and rangesLeah Neukirchen2017-10-251-2/+2
|
* mshow: use %ld for longsLeah Neukirchen2017-10-131-6/+6
|
* blaze822: blaze822_addr: ensure strlen is not run on null pointerLeah Neukirchen2017-10-081-1/+1
| | | | Found by Larry Hynes.
* mscan: revert width to intLeah Neukirchen2017-10-061-3/+3
|
* mshow: render_mime: fix logic bugLeah Neukirchen2017-10-061-1/+1
|
* mhdr: do not return void valuesLeah Neukirchen2017-10-061-4/+8
|
* use appropriate integer typesLeah Neukirchen2017-10-0610-21/+23
| | | | Mainly found with clang -Wconversion -Wshorten-64-to-32.
* blaze822: blaze822_addr: quote local-part if neededLeah Neukirchen2017-10-031-0/+26
|
* rfc2047: blaze822_decode_qp: decode invalid qp-codes as literalLeah Neukirchen2017-09-271-3/+3
|
* mshow: add -F to disable MIME filtersLeah Neukirchen2017-09-222-4/+8
|
* mcom: automatically run mmime when deemed necessaryLeah Neukirchen2017-09-221-16/+27
|
* mmime: gen_qp: quote ^From and ^.$ to be safeLeah Neukirchen2017-09-211-1/+5
|
* mmime: gen_qp: encode trailing space and tab as =20/=09Leah Neukirchen2017-09-191-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 reflowingLeah Neukirchen2017-09-191-1/+1
|
* GNUmakefile: fix OpenBSD buildLeah Neukirchen2017-09-191-1/+1
| | | | By sunil@nimmagadda.net.
* GNUmakefile: tweaks to make it easier for OpenBSD portsLeah Neukirchen2017-09-161-3/+5
|
* mflow: fix argument parsingLeah Neukirchen2017-09-061-2/+2
|
* mflow: only space stuff when really reflowingLeah Neukirchen2017-09-061-1/+1
|
* mflow: add wrapping of long lines, add argument parsing, add quotingLeah Neukirchen2017-09-062-7/+41
|
* mshow: show: treat non-mime mails as single-part text/plain mailsLeah Neukirchen2017-09-061-1/+1
|
* contrib: add mrecodeLeah Neukirchen2017-09-061-0/+8
|
* mhdr: add -p to extract MIME parametersLeah Neukirchen2017-09-063-4/+27
|
* mflow: assume no reflow by default, when content-type existsLeah Neukirchen2017-09-021-0/+1
|
* mflow: flowed: add case where the word is too long for a lineLeah Neukirchen2017-09-021-1/+2
|
* mflag: fix behavior with no arguments and reading from not a ttyLeah Neukirchen2017-09-011-0/+5
|
* styleLeah Neukirchen2017-08-3128-185/+185
|
* mquote: make sed expression to strip signature work with busybox sedSören Tempel2017-08-221-1/+1
| | | | Closes: #74 [via git-merge-pr]
* mgenmid: printb36: fix off-by-oneLeah Neukirchen2017-08-211-1/+2
| | | | Closes #73.
* mshow: render_mime: avoid indexing into empty bufferLeah Neukirchen2017-08-211-1/+1
| | | | Found using spam corpus at http://untroubled.org/spam/2017-08.7z
* mflow: use blaze822_mime_parameter properlyLeah Neukirchen2017-08-211-4/+4
| | | | Found using spam corpus at http://untroubled.org/spam/2017-08.7z.
* squash more mandoc -Tlint warningsLeah Neukirchen2017-08-2011-42/+43
|
* mshow: use return value 62 for raw output of filtersLeah Neukirchen2017-08-201-2/+5
| | | | E.g. for elinks -dump -dump-color-mode 3
* mmime.1: reference makemime(1) and mhbuild(1)Leah Neukirchen2017-08-201-0/+2
|