Skip to content

Use xargs to handle spaces in proxy options#1459

Merged
djmb merged 1 commit intomainfrom
xargs-proxy-options
Mar 19, 2025
Merged

Use xargs to handle spaces in proxy options#1459
djmb merged 1 commit intomainfrom
xargs-proxy-options

Conversation

@djmb
Copy link
Collaborator

@djmb djmb commented Mar 17, 2025

We cat the options file, append the proxy image and then pass it to xargs to ensure it handles spaces correctly.

Works better than using eval which can handle spaces but tries to evaluate things like backticks.

Fixes: #1448

@djmb djmb force-pushed the xargs-proxy-options branch from 4fc2ca5 to f4e8b5b Compare March 17, 2025 17:03
@djmb djmb mentioned this pull request Mar 17, 2025
We cat the options file, append the proxy image and then pass it
to xargs to ensure it handles spaces correctly.

Works better than using eval which can handle spaces but tries
to evaluate things like backticks.

Fixes: #1448
@djmb djmb force-pushed the xargs-proxy-options branch from f4e8b5b to 7fa27fa Compare March 18, 2025 08:46
@djmb djmb merged commit 58e23f9 into main Mar 19, 2025
10 checks passed
@djmb djmb deleted the xargs-proxy-options branch March 19, 2025 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kamal proxy - can't boot with a sysctl with a quoted string

1 participant