Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: Use binary channel for Terminal
Terminals are not defined/required to be UTF-8 only. Sometimes people cat binary data to the terminal, or possibly files in other encodings. These cannot be sent through `TEXT` websocket channels, and will also trigger the additional checks from commit 1b15dcb. Use a binary channel to avoid all that. XTerm.js gets along with this just fine, and it ignores invalid data. With this you can now even `cat /bin/true` and get something moderately sensible, instead of no output at all. Fixes #20791
- Loading branch information