Wayland: Pass valid UTF-8 as title

When stripping CSI sequences from the title, dont mutilate interleaved
multi-byte UTF-8 sequences.

Fixes #8067
This commit is contained in:
Kovid Goyal 2024-11-24 09:06:46 +05:30
parent e625f0aa02
commit ebb733bad0
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 12 additions and 3 deletions

View file

@ -95,6 +95,8 @@ Detailed list of changes
- clipboard kitten: Fix a bug causing kitten to hang in filter mode when input data size is not divisible by 3 and larger than 8KB (:iss:`8059`)
- Wayland: Fix an abort when a client program tries to set an invalid title containing interleaved escape codes and UTF-8 multi-byte characters (:iss:`8067`)
0.37.0 [2024-10-30]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~