Lucas
e951b0ba27
mmime: allow to relax body line length limit
...
Message-Id: <10e22a318b5c70d89432d85ecd8cb8ce1796a51d.1643116719.git.lucas@sexy.is>
2022-01-25 14:22:06 +01:00
Leah Neukirchen
3496545358
mflow: fixed lines were not wrapped, add test suite
...
Reported by ninewise.
2022-01-01 17:58:21 +01:00
Leah Neukirchen
b962fb6be0
rfc2047: skip whitespace everywhere during base64 decoding
...
> 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.
2021-10-04 13:47:51 +02:00
Leah Neukirchen
41bd429452
blaze822: blaze822/blaze822_mem: detect line ending before scanning end of 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 .
2021-08-30 18:12:30 +02:00
Leah Neukirchen
4ccf2f08c1
mmime: ensure no empty parts are generated after an include.
...
Reported by lhynes.
2021-08-07 19:33:08 +02:00
Leah Neukirchen
014f82ef0c
t/1000-mmime.t: add tests for recent changes
2021-06-18 11:32:18 +02:00
Leah Neukirchen
23941c6c19
t/1500-maddr.t: deactivate invalid test case
...
An 'encoded-word' MUST NOT appear in any portion of an 'addr-spec'.
2021-06-18 01:13:03 +02:00
Leah Neukirchen
605509cc06
t/1900-mdeliver.t: fix plan
2021-05-10 10:53:17 +02:00
Leah Neukirchen
8ba44643e4
t/1900-mdeliver.t: add test for malformed mboxes
2021-05-09 22:00:32 +02:00
Leah Neukirchen
669af4ffca
mdeliver: ignore last empty line of mbox entries
...
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 .
2021-05-09 22:00:32 +02:00
Leah Neukirchen
7d04932813
mexport: ensure mbox entries are separated by an empty line
...
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.
2021-05-09 22:00:32 +02:00
Leah Neukirchen
5b52110399
mmime: do not duplicate Content* headers
...
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.
2021-05-09 16:23:18 +02:00
Leah Neukirchen
741972a416
t/8000-mflag.t: fix when stdin is not a tty
2021-01-27 18:10:26 +01:00
Leah Neukirchen
c2d497b139
t/6000-msort.t: fix when stdin is not a tty
2021-01-27 18:09:34 +01:00
Leah Neukirchen
2d6de31cd7
t/3000-magrep.t: fix when stdin is not a tty
2021-01-27 18:08:39 +01:00
Leah Neukirchen
c525c0097e
mmime: allow # in include lines, used to override the content-disposition
2020-12-22 13:42:22 +01:00
Leah Neukirchen
5167bbfe39
rfc2045: ensure mime boundaries end with a newline or -
2020-11-12 15:28:49 +01:00
Leah Neukirchen
4d566a6afe
t/7000-mseq.t: use printf for robustness
2020-10-09 15:38:49 +02:00
Leah Neukirchen
1e9f6cd06b
t/7000-mseq.t: add test for 74857db19
2020-08-14 15:43:41 +02:00
Leah Neukirchen
6649576fda
t/5000-mscan.t: typo
2020-08-11 14:54:35 +02:00
Leah Neukirchen
32b5837bfd
t/5000-mscan.t: add test for b41d2ef
2020-08-11 14:40:20 +02:00
Duncan Overbruck
d9c3914924
mpick: breaking cmdline options
...
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
2020-07-30 22:18:21 +02:00
Leah Neukirchen
96c506085f
t: use - instead of /dev/stdin
2020-07-03 17:49:34 +02:00
Leah Neukirchen
e7442fcc72
seq: - now refers to the message on stdin, use .- for previous message
2020-07-03 17:26:48 +02:00
Julian Rother
e5206792df
t/2000-mpick.t: test environment variables in expressions
2020-06-07 15:33:53 +02:00
Leah Neukirchen
d777d370dd
t/lib.sh: work around a OpenBSD bug
...
Upstream report: https://marc.info/?i=871rnjhncc.fsf%20()%20vuxu%20!%20org
2020-05-16 18:54:39 +02:00
Duncan Overbruck
b79e38b686
mpick: improve unknown binding error and add test case
2020-05-15 18:41:13 +02:00
Duncan Overbruck
0645634733
t/2000-mpick.t: check for double free with bindings
2020-05-15 18:41:13 +02:00
Duncaen
aa2868822b
t/2000-mpick.t: add tests for all the new features
2020-05-15 18:41:13 +02:00
Duncaen
8ae4801dd4
mpick: add header decodeop for better address matching
2020-05-15 18:41:13 +02:00
Leah Neukirchen
e56f8ad294
blaze822: blaze822_addr: null-terminate ttok at the current position before appending
2020-04-03 22:46:35 +02:00
Leah Neukirchen
3370fd5f70
blaze822: blaze822_addr: don't force add space before quoted words
2020-04-03 22:10:58 +02:00
Leah Neukirchen
8c8a4bd422
blaze822: blaze822_addr: ignore leading obs-route
2020-04-03 21:31:02 +02:00
Leah Neukirchen
58365527e4
t: update links
2019-03-01 12:30:40 +01:00
Leah Neukirchen
6ec116f764
t/1501-maddr-regress.t: adapt to changes of bcd258a
2018-08-15 17:16:45 +02:00
Leah Neukirchen
718caa9b59
t/1500-maddr.t: adapt to changes of bcd258a
2018-08-15 17:16:45 +02:00
Leah Neukirchen
d1a1245742
t/1501-maddr-regress.t: fix failing test, maddr never quotes the display name
2018-03-02 20:45:51 +01:00
Leah Neukirchen
bbd8165f46
1501-maddr-regress.t: space in local part
2018-02-16 12:45:14 +01:00
Leah Neukirchen
fe3e1629a6
t/1501-maddr-regress.t: add regression tests for address parsing
2018-01-14 21:38:41 +01:00
Leah Neukirchen
4dd363d51e
t/1500-maddr.t: fix check, maddr now compresses whitespace.
2018-01-12 17:26:08 +01:00
Duncaen
a604469303
t: add test case for latest magrep crash
...
This crash was reported in #76 and resolved with
commit 6239ef35357824308df079bd6df0dc4b202e898.
2017-11-11 17:27:00 +01:00
Duncaen
880f084177
mseq: remove the ,2: suffix from the file we search for and add testcase
...
This fixes #38
Closes : #39 [via git-merge-pr]
2017-06-25 15:48:11 +02:00
Duncaen
9bec745dde
mpick: allow string expressions on any header
2017-04-17 03:01:57 +02:00
Duncaen
b0f5662c5f
t: add maddr and minc tests
2017-04-02 18:06:11 +02:00
Duncaen
537282d6af
seq: fix selecting subthreads at the end of sequences and add test cases
2017-04-01 17:17:09 +02:00
Duncaen
b960d5e3cc
t: add check_test
2017-03-31 16:10:47 +02:00
Duncaen
2287e89631
t: add mseq and mflag tests
2017-03-31 01:40:34 +02:00
Duncaen
617e494ec0
t: minor fixes for mpick and mscan tests
2017-03-30 20:45:50 +02:00
Duncaen
fe58e376bc
t: add mscan and msort tests
2017-03-30 20:29:01 +02:00
Duncaen
0200d437d6
t: add msed tests
2017-03-30 20:29:01 +02:00