-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of backslashes when parsing envfiles #118
Bring parsing behavior more in line with bash wrt escaping - outside of quotes: - escaped new lines are omitted - other escaped characters are always included (including backslashes, whitespace and semicolons) - non-escaped backslashes are omitted - inside single quotes - backslashes are treated like normal character - no escaping - inside double quotes - escaped new lines are omitted - escaped backslashes and double-quotes are kept - backslashes not used for escaping are kept
- Loading branch information
Showing
2 changed files
with
140 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters