about summary refs log tree commit diff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* t/1702-mshow-attachments.t: add tests for named part/attachment detectionnay2024-09-111-0/+53
|
* mmime: don't create empty lines when wrapping long words in headers.Leah Neukirchen2024-03-101-1/+17
| | | | Reported by Solène Rapenne.
* minc: read directory names from stdinMeudwy2023-07-251-1/+7
| | | | | | | This matches `mlist` where it can take directories as arguments or via stdin. Closes: #244 [via git-merge-pr]
* blaze822_priv.h: use proper lc/ucLeah Neukirchen2023-03-161-0/+26
| | | | | | | Mail headers may contain characters where the simple definition breaks, which results in wrong formatting on output. Fixes #235.
* mmime: allow to relax body line length limitLucas2022-01-251-1/+11
| | | | Message-Id: <10e22a318b5c70d89432d85ecd8cb8ce1796a51d.1643116719.git.lucas@sexy.is>
* mflow: fixed lines were not wrapped, add test suiteLeah Neukirchen2022-01-011-0/+166
| | | | Reported by ninewise.
* rfc2047: skip whitespace everywhere during base64 decodingLeah Neukirchen2021-10-041-1/+25
| | | | | | | | | | > The encoded output stream must be represented in lines of no more > than 76 characters each. All line breaks or other characters not > found in Table 1 must be ignored by decoding software. In base64 > data, characters other than those in Table 1, line breaks, and other > white space probably indicate a transmission error, about which a > warning message or even a message rejection might be appropriate > under some circumstances.
* blaze822: blaze822/blaze822_mem: detect line ending before scanning end of ↵Leah Neukirchen2021-08-301-0/+29
| | | | | | | | | | | | header A mail using CRLF which contained (for some reason) a LFLF pair would be misparsed as the header was read until the LFLF. Instead, scan for the first LF, check if it's preceded by CR, and then search for the proper header terminator only. Closes #212.
* mmime: ensure no empty parts are generated after an include.Leah Neukirchen2021-08-071-1/+10
| | | | Reported by lhynes.
* t/1000-mmime.t: add tests for recent changesLeah Neukirchen2021-06-181-1/+27
|
* t/1500-maddr.t: deactivate invalid test caseLeah Neukirchen2021-06-181-2/+2
| | | | An 'encoded-word' MUST NOT appear in any portion of an 'addr-spec'.
* t/1900-mdeliver.t: fix planLeah Neukirchen2021-05-101-1/+1
|
* t/1900-mdeliver.t: add test for malformed mboxesLeah Neukirchen2021-05-091-0/+16
|
* mdeliver: ignore last empty line of mbox entriesLeah Neukirchen2021-05-091-0/+69
| | | | | | | | | | https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml > Each message is immediately prefaced by a separation line and > terminated by an empty line. Bug discovered by skarnet. Fixes #207.
* mexport: ensure mbox entries are separated by an empty lineLeah Neukirchen2021-05-091-0/+26
| | | | | | | | https://www.loc.gov/preservation/digital/formats/fdd/fdd000383.shtml > Each message is immediately prefaced by a separation line and > terminated by an empty line. Bug discovered by skarnet.
* mmime: do not duplicate Content* headersLeah Neukirchen2021-05-091-1/+48
| | | | | | | | | Do not add additional Content-Type and Content-Transfer-Encoding headers when using mmime on input already containing them. Do not reencode the message if Content-Transfer-Encoding is set. Based on a patch by Felix Van der Jeugt and duncaen.
* t/8000-mflag.t: fix when stdin is not a ttyLeah Neukirchen2021-01-271-8/+8
|
* t/6000-msort.t: fix when stdin is not a ttyLeah Neukirchen2021-01-271-5/+5
|
* t/3000-magrep.t: fix when stdin is not a ttyLeah Neukirchen2021-01-271-10/+10
|
* mmime: allow # in include lines, used to override the content-dispositionLeah Neukirchen2020-12-221-1/+28
|
* rfc2045: ensure mime boundaries end with a newline or -Leah Neukirchen2020-11-121-0/+41
|
* t/7000-mseq.t: use printf for robustnessLeah Neukirchen2020-10-091-1/+1
|
* t/7000-mseq.t: add test for 74857db19Leah Neukirchen2020-08-141-1/+2
|
* t/5000-mscan.t: typoLeah Neukirchen2020-08-111-1/+1
|
* t/5000-mscan.t: add test for b41d2efLeah Neukirchen2020-08-111-1/+3
|
* mpick: breaking cmdline optionsDuncan Overbruck2020-07-301-17/+17
| | | | | | | Two breaking changes which will make mpick fit more in with all other mblaze tools by using mmsg(7) arguments: - Use the -F flag to read script files. - Remove msglist support
* t: use - instead of /dev/stdinLeah Neukirchen2020-07-031-1/+1
|
* seq: - now refers to the message on stdin, use .- for previous messageLeah Neukirchen2020-07-031-1/+1
|
* t/2000-mpick.t: test environment variables in expressionsJulian Rother2020-06-071-1/+3
|
* t/lib.sh: work around a OpenBSD bugLeah Neukirchen2020-05-161-2/+2
| | | | Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
* mpick: improve unknown binding error and add test caseDuncan Overbruck2020-05-151-1/+4
|
* t/2000-mpick.t: check for double free with bindingsDuncan Overbruck2020-05-151-1/+10
|
* t/2000-mpick.t: add tests for all the new featuresDuncaen2020-05-151-1/+50
|
* mpick: add header decodeop for better address matchingDuncaen2020-05-151-1/+3
|
* blaze822: blaze822_addr: null-terminate ttok at the current position before ↵Leah Neukirchen2020-04-031-1/+4
| | | | appending
* blaze822: blaze822_addr: don't force add space before quoted wordsLeah Neukirchen2020-04-031-1/+6
|
* blaze822: blaze822_addr: ignore leading obs-routeLeah Neukirchen2020-04-031-1/+3
|
* t: update linksLeah Neukirchen2019-03-011-1/+1
|
* t/1501-maddr-regress.t: adapt to changes of bcd258aLeah Neukirchen2018-08-151-5/+5
|
* t/1500-maddr.t: adapt to changes of bcd258aLeah Neukirchen2018-08-151-1/+1
|
* t/1501-maddr-regress.t: fix failing test, maddr never quotes the display nameLeah Neukirchen2018-03-021-1/+1
|
* 1501-maddr-regress.t: space in local partLeah Neukirchen2018-02-161-2/+3
|
* t/1501-maddr-regress.t: add regression tests for address parsingLeah Neukirchen2018-01-141-0/+42
|
* t/1500-maddr.t: fix check, maddr now compresses whitespace.Leah Neukirchen2018-01-121-1/+1
|
* t: add test case for latest magrep crashDuncaen2017-11-111-1/+128
| | | | | This crash was reported in #76 and resolved with commit 6239ef35357824308df079bd6df0dc4b202e898.
* mseq: remove the ,2: suffix from the file we search for and add testcaseDuncaen2017-06-251-1/+5
| | | | | | This fixes #38 Closes: #39 [via git-merge-pr]
* mpick: allow string expressions on any headerDuncaen2017-04-171-1/+3
|
* t: add maddr and minc testsDuncaen2017-04-022-0/+103
|
* seq: fix selecting subthreads at the end of sequences and add test casesDuncaen2017-04-011-1/+10
|
* t: add check_testDuncaen2017-03-316-18/+29
|