Changes since v2:
- detach from input parameter to reuse it as an output buffer
- don't return error when encountering another open bracket in a comment
- test escaping in comments
Kevin Daudt (2):
t5100-mailinfo: replace common path prefix with variable
mailinfo: unescape quoted-pair in header fields
mailinfo.c | 46 +++++++++++++++++++++++++++++
t/t5100-mailinfo.sh | 70 +++++++++++++++++++++++++++-----------------
t/t5100/comment.expect | 5 ++++
t/t5100/comment.in | 9 ++++++
t/t5100/quoted-string.expect | 5 ++++
t/t5100/quoted-string.in | 9 ++++++
6 files changed, 117 insertions(+), 27 deletions(-)
create mode 100644 t/t5100/comment.expect
create mode 100644 t/t5100/comment.in
create mode 100644 t/t5100/quoted-string.expect
create mode 100644 t/t5100/quoted-string.in