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: kio-bugs-n...@kde.org Reporter: kde.dorsal...@passinbox.com CC: kdelibs-b...@kde.org 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\x-64@3991d30e5b5a45448a73899c539c2f34.service: 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.