summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2017-02-15 08:53:58 -0800
committerToshio Kuratomi <a.badger@gmail.com>2017-02-15 11:59:42 -0800
commit1262e5fdca0bf4bef68a22c03f1afed80127ddfc (patch)
tree3e8f46803dca08ea0d0310a86ae0f3bcfa6464e5 /.gitignore
parentcb93ecaef9c0a9b3d3328b5158e1d54902b8d714 (diff)
downloadansible-1262e5fdca0bf4bef68a22c03f1afed80127ddfc.tar.gz
Fix hash filter for non-ascii strings and Python3
hashlib hashes operate on byte strings. When given a text string on Python3, hashlib backtraces. When given a text string on Python2, hashlib will backtrace if the string contains non-ascii characters. Encode the text string to utf-8 prior to hashing to avoid this problem. Fixes #21452 (cherry picked from commit 99fd2328af598e35cb29f72694c8ea28c8469707)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions