ansible/changelogs/fragments/template-filename-encoding.yaml
Toshio Kuratomi e7aa8bc0e3 Need to convert filenames to byte strings before using them in APIs
Under a non-utf-8 locale (for instance, LC_ALL=C), passing a non-ascii
filename to many APIs will traceback.  Fix that by explicitly converting
to byte strings before passing to external APIs.

May fix #27262

(cherry picked from commit 2976b653ce)

Add a changelog for filename encoding in template action fix

(cherry picked from commit d90c36e320)
2018-04-30 09:26:02 -07:00

5 lines
225 B
YAML

---
bugfixes:
- template action plugin - fix the encoding of filenames to avoid tracebacks on
Python2 when characters that are not present in the user's locale are
present. (https://github.com/ansible/ansible/pull/39424)