diff options
| author | Barry Warsaw | 2014-12-08 21:35:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-12-08 21:35:41 -0500 |
| commit | 0b3b801e85d858a6fde47254d27985386d753762 (patch) | |
| tree | 3b09615a8416c3921503e6c611eab8ec56f2a449 /src/mailman/testing/helpers.py | |
| parent | 6bcdeb8b7cf2e9b64955838bc89512ee7b6bb30c (diff) | |
| download | mailman-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/testing/helpers.py')
0 files changed, 0 insertions, 0 deletions
