Re: [PATCH] mailinfo: don't decode invalid =XY quoted-printable sequences
- From
René Scharfe <l.s.r@web.de>
- Date
- Sep 23, 2017, 18:36 UTC
- Message-ID
- <f06d0701-281c-07eb-d053-78b8fcdd00c4@web.de>
- In-Reply-To
- <d48b3d67-5f03-19f3-5a32-ec7e8397c98d@web.de>
Am 23.09.2017 um 20:04 schrieb René Scharfe:
> Decode =XY in quoted-printable segments only if X and Y are hexadecimal > digits, otherwise just copy them. That's at least better than > interpreting negative results from hexval() as a character.
Forgot to add:
Reported-by: Jeff King <peff@peff.net>
René