diff options
| author | Robert Hensing <robert@roberthensing.nl> | 2024-09-25 11:07:08 +0200 |
|---|---|---|
| committer | Robert Hensing <robert@roberthensing.nl> | 2024-10-30 00:21:20 +0100 |
| commit | 4734959784c8f12ce0bf9d33bf7a18be07c97d2a (patch) | |
| tree | 1a66428d0e4960bd7c51f62b57bf2a0805907f12 /pkgs/development/python-modules/rangehttpserver | |
| parent | 642750098948bc77303044df4e1c248536ccde98 (diff) | |
nixos-rebuild: Add proper escaping to ssh calls
SSH merges its arguments by space-concatenation - it does not preserve
the array structure.
This is arguably a historic mistake, whose fix would be too breaking.
I suppose it will stay this way forever, until perhaps a better behavior
can be opted in to using a flag, and I don't think this flag exists yet.
To make multi-argument commands work reliably over ssh, we need to escape
them, which is what the ${@@Q} incantation achieves.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
