Files
ECC/scripts
L4XB 703fc9e3b8 fix(hooks): read the whitespace escapes in printf's format when it feeds a shell
printf writes \n, \t and the other whitespace escapes of its format as the characters they name, but the producer text kept them as a backslash and a letter. printf 'git push --no-verify\n' | sh was read as the flag --no-verifyn and passed, with or without a group around it. printfText() now decodes the whitespace escapes and \\. Numeric escapes stay encoded, as for $'...' in shell-scan.
2026-10-23 07:40:27 +02:00
..