docker_container: make sure to_text() and to_native() are used instead of str() (#642)

* Make sure to_text() and to_native() are used instead of str().

* Add changelog.

* Quoting should stay.
This commit is contained in:
Felix Fontein
2020-07-13 20:59:29 +02:00
committed by GitHub
parent f62b8027e0
commit 8b92e0454d
2 changed files with 39 additions and 34 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - various error fixes in string handling for Python 2 to avoid crashes when non-ASCII characters are used in strings (https://github.com/ansible-collections/community.general/issues/640)."