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
commit 8b92e0454d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)."