mirror of
https://github.com/GothenburgBitFactory/task-timewarrior-hook.git
synced 2025-06-26 10:54:27 +02:00
No description
![]() If the description contained multiple lines, it would be formatted as a bytes object, including Python's `b""` marker for byte literals and any newlines. This would then be passed literally to `timew`, which would then choke on it, because it would record the newlines in its database. This patch simply gets rid of the string join/split operations and the encoding, which solves the issue. Since we pass arrays instead of strings to `subprocess.call`, we are not subject to command injection security vulnerabilities. Fixes: 0b6dbf7e12d30fc791a524501e3483989a092a8c |
||
---|---|---|
test | ||
on-modify.timewarrior |