]> birchwood-abbey.net Git - mit-scheme.git/commit
Fix case of quoted-printable hex digits.
authorTaylor R Campbell <campbell+mit-scheme@mumble.net>
Thu, 23 Jul 2020 14:38:19 +0000 (14:38 +0000)
committerTaylor R Campbell <campbell+mit-scheme@mumble.net>
Thu, 23 Jul 2020 14:45:43 +0000 (14:45 +0000)
commitfbb4746bdf05e82e9b624b93e6b47ea0ba8d8f71
treed1fb8170029fd89d88ae429543eecc4005c3a932
parent6c0c1a6c3d5a998003153b14ead8b5b9b9fd6768
Fix case of quoted-printable hex digits.

https://tools.ietf.org/html/rfc2045#section-6.7

  `In this encoding, octets are to be represented as determined by the
   following rules:

   `(1)   (General 8bit representation) Any octet, except a CR or
          LF that is part of a CRLF line break of the canonical
          (standard) form of the data being encoded, may be
          represented by an "=" followed by a two digit
          hexadecimal representation of the octet's value.  The
          digits of the hexadecimal alphabet, for this purpose,
          are "0123456789ABCDEF".  Uppercase letters must be
          used; lowercase letters are not allowed.  [...]'

(cherry picked from commit 280d8a878893e33d124dd22553890f6c71988008)
src/relnotes/bug-qp-hex [new file with mode: 0644]
src/runtime/mime-codec.scm
tests/runtime/test-mime-codec.scm