-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fud] Process paths with spaces correctly #1549
Comments
Can you show an example of this? Does the usual trick of adding |
Unfortunately, fud quite pervasively commits the sin of constructing command lines as strings, not lists of arguments, and then feeding these strings into a shell to execute. So when it constructs the command The original sin is in the …where it takes in a list but just splats it into a space-separated string. But alas, that's not the only place; this happens a lot throughout fud. Here's another example from the Dahlia stage: That one highlights another bit of trickery; the So this is unfortunately not just one bug to be fixed; completely resolving it will require auditing a lot of the way fud works. I have so far, over the years, been embracing the original sin and just resigning myself to the fact that fud doesn't work for ill-behaved paths. But perhaps a reckoning is afoot. |
Argh, got it! This is painful indeed. Not sure when this would get prioritized but worth keeping in the log |
Linking the main fud2 tracker #1878. Not sure if this issue still exists, so we can maybe close? |
Did it get fixed in |
I don't think so. It was extremely pervasive and I don't think anyone went around to fix it |
Ah, so the issue still exists I guess. Let's keep this open and linked for |
Fud has lots of trouble with paths that include spaces. Fixing this is a significant undertaking but should be done at some point.
The text was updated successfully, but these errors were encountered: