]> Cypherpunks repositories - gostls13.git/commit
mime/quotedprintable: accept badly encoded bytes
authorAlexandre Cesaro <alexandre.cesaro@gmail.com>
Fri, 20 Mar 2015 11:22:49 +0000 (12:22 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 24 Mar 2015 22:35:58 +0000 (22:35 +0000)
commitcf68fac7e76acc79fc55f7db5f6e7064a26afbbe
tree150af8b30caf4beda17f85853ec772ce2ea0463a
parent8fc73a39efe152f45cdc377351547279d9e11a5b
mime/quotedprintable: accept badly encoded bytes

RFC 2045 says:
    An "=" followed by two hexadecimal digits, one or both
    of which are lowercase letters in "abcdef", is formally
    illegal. A robust implementation might choose to
    recognize them as the corresponding uppercase letters.

    https://tools.ietf.org/html/rfc2045#page-22

Change-Id: Ibb4b1e4b8bf4fa65ff895ba486a931d90308bf70
Reviewed-on: https://go-review.googlesource.com/7891
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/mime/quotedprintable/reader.go
src/mime/quotedprintable/reader_test.go