Miss Islington (bot) d8f88eca61
[3.13] gh-87720 Fix additional header refolding-quoting edge case (GH-134271) (#160456)
gh-87720 Fix additional header refolding-quoting edge case (GH-134271)

In this case, the higher level syntactic unit fit on the remainder of
the line in un-encoded format, and that higher level unit was
not a ptext or vtext, so the encoding check failed.  To fix this, we
look inside the current unit to see if has anything that was
originally encoded.
(cherry picked from commit 5a22a62b96a68c2dd31784c5e3427ad7b365388a)

Co-authored-by: R. David Murray <rdmurray@bitdance.com>
Co-authored-by: T. Wouters <thomas@python.org>
2026-10-25 07:40:24 -07:00
..
…
…
…
…