]> git.ipfire.org Git - thirdparty/systemd.git/commit
profile/systemd-osc-context: Remove invalid octets
authorChris Lindee <chris.lindee+github@gmail.com>
Mon, 16 Feb 2026 06:08:31 +0000 (00:08 -0600)
committerChris Lindee <chris.lindee+github@gmail.com>
Mon, 16 Feb 2026 09:15:53 +0000 (03:15 -0600)
commit72e71897f9534ea503283e049f822ea8a0d42e28
treee562c6f5644a5134503996463d75ac0249b1b199
parent6a46846871a5af20580d62d7f3181b3f5ac91eb2
profile/systemd-osc-context: Remove invalid octets

UAPI.15 requires:
* No C0 Control Characters (`\x00-\x1f`)
* No DEL character (`\x7f`)

The following would be nice, but requires a `sed` implementation that is
aware of UTF-8: `-e $'y/\x00-\x1f\x7f/␀-␟␡/'`.

References:
 [0] https://uapi-group.org/specifications/specs/osc_context/#general-syntax
profile.d/80-systemd-osc-context.sh