Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updateConfigEntry: Fix sed expanding escape sequences
Related to #1072. Stop sed from expanding escape sequences in strings. This function is used to save config entry items, and sed is expanding any backslashes in these options. There should never really be a case where we want config entry values to be expanded in this way, and also this is causing problems in #1072 where Windows paths using backslashes are mangled on initial save. Modify the sed command to use single-quotes for sed-specific syntax, and double quotes for variables, so they won't get expanded. This modifies an EXTREMELY core part of STL, so it will need extensive testing before it can be merged.
- Loading branch information