mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
[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
This commit is contained in:
parent
afcd6a8114
commit
4fc4450bf0
1 changed files with 1 additions and 0 deletions
1
changelog/63779.fixed.md
Normal file
1
changelog/63779.fixed.md
Normal file
|
@ -0,0 +1 @@
|
|||
mac_xattr.list and mac_xattr.read will replace undecode-able bytes to avoid raising CommandExecutionError. [#63779](https://github.com/saltstack/salt/issues/63779)
|
Loading…
Add table
Reference in a new issue