| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hey @mjq2020 - thanks for jumping on this, and for the thorough test notes. I'm consolidating the #661 backslash round-trip work into #680, which takes the same escape-on-write approach and also patches the parser so a value ending in a backslash can't eat the closing quote (and the line right after it). Closing this in its favor - there were a few solid PRs for this one and I had to pick a single base to build on. Really appreciate the help! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Root cause
set_key escaped only single quotes, while the single-quoted parser decodes both \\ and \'. Consecutive backslashes were therefore collapsed when the file was read back.
Tests
The excluded CLI test invokes GNU-only printenv --version, which is unsupported by macOS BSD printenv; it is unrelated to this change.
Fixes #661