summaryrefslogtreecommitdiff
path: root/src/mailman/commands/tests/test_help.py
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-08 21:35:41 -0500
committerBarry Warsaw2014-12-08 21:35:41 -0500
commit0b3b801e85d858a6fde47254d27985386d753762 (patch)
tree3b09615a8416c3921503e6c611eab8ec56f2a449 /src/mailman/commands/tests/test_help.py
parent6bcdeb8b7cf2e9b64955838bc89512ee7b6bb30c (diff)
downloadmailman-0b3b801e85d858a6fde47254d27985386d753762.tar.gz
mailman-0b3b801e85d858a6fde47254d27985386d753762.tar.zst
mailman-0b3b801e85d858a6fde47254d27985386d753762.zip
Fix the approved rule. Don't decode the payload so that we get a unicode to
search against. This may not be in the long-term best interest because it ignores Content-Transfer-Encoding, however with decode=True it always returns binary data. We may have to decode and then re.search() with a bytes pattern. passlib always returns a unicode password in Python 3, so adjust for that.
Diffstat (limited to 'src/mailman/commands/tests/test_help.py')
0 files changed, 0 insertions, 0 deletions