SIGN IN SIGN UP

bpo-21315: Fix parsing of encoded words with missing leading ws. (#13425)

* bpo-21315: Fix parsing of encoded words with missing leading ws.

Because of missing leading whitespace, encoded word would get parsed as
unstructured token. This patch fixes that by looking for encoded words when
splitting tokens with whitespace.

Missing trailing whitespace around encoded word now register a defect
instead.

Original patch suggestion by David R. Murray on bpo-21315.
A
Abhilash Raj committed
66c4f3f38b867d8329b28c032bb907fd1a2f22d2
Parent: 142566c
Committed by Barry Warsaw <barry@python.org> on 6/5/2019, 4:56:33 PM