https://bugs.kde.org/show_bug.cgi?id=488854
Bug ID: 488854
Summary: KProcessRunner::escapeUnitName is using signed numbers
to escape application names
Classification: Frameworks and Libraries
Product: frameworks-kio
Version: 6.3.0
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
KProcessRunner::escapeUnitName is called when generating systemd service names.
It's using signed numbers to escape the names of the applications.
STEPS TO REPRODUCE
Run a .desktop file named "夜.desktop". Close it immediately.
OBSERVED RESULT
The following entry is logged in journalctl -e
Jun 20 19:06:10 hostname systemd[3368]:
app-\x-1b\x-5c\[email protected]: Consumed 1.877s
CPU time.
EXPECTED RESULT
The part generated by KProcessRunner::escapeUnitName should use unsigned hex
numbers: \xe5\xa4\x9c instead of \x-1b\x-5c\x-64
SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240618
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
--
You are receiving this mail because:
You are watching all bug changes.