Skip to content

Desanitize libs #496

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

Merged
merged 3 commits into from
Jul 13, 2024
Merged

Conversation

wpferguson
Copy link
Member

Reverted the io_popen and os_execute wrappers added to system library. Removed quote windows command.

Added a check to see if sanitizing the input string is necessary to get rid of needless sanitization of strings that led to other problems on windows.

Tested on Linux and windows with spaces in the command paths and the image paths.

Fixes #492

lib/dtutils/system   they don't work in this situation (no control
                     over the input strings)
                     sanitized.  Check looks for unprintable characters
                     and spaces.
@wpferguson wpferguson merged commit fba639e into darktable-org:master Jul 13, 2024
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.

Problems sanitizing strings on Windows
1 participant