commit | 66c4f3f38b867d8329b28c032bb907fd1a2f22d2 | [log] [tgz] |
---|---|---|
author | Abhilash Raj <maxking@users.noreply.github.com> | Wed Jun 05 12:56:33 2019 -0400 |
committer | Barry Warsaw <barry@python.org> | Wed Jun 05 09:56:33 2019 -0700 |
tree | bed2fe319cf50ffbc6d2ac2c89d5f167df4e9d48 | |
parent | 142566c028720934325f0b7fe28680afd046e00f [diff] |
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.