salt/changelog/63779.fixed.md
Shea Craig 4fc4450bf0
[master] Fix issue 63779: Handle xattr.read unicode errors by mimicking builtin xattr (#64039)
* Handle xattr.read unicode errors by mimicking builtin xattr.

Uses `bytes.decode` argument `errors="replace"`

* Add changelog

* Add newline

* Add test for xattr.read and non-UTF-8 bytes.

* Fix line break
2023-05-02 18:32:51 -07:00

164 B

mac_xattr.list and mac_xattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. #63779