Skip to content

FIX: Allow escaping of backslash#58

Closed
VijoPlays wants to merge 3 commits intobolorundurowb:masterfrom
SamhammerAG:master
Closed

FIX: Allow escaping of backslash#58
VijoPlays wants to merge 3 commits intobolorundurowb:masterfrom
SamhammerAG:master

Conversation

@VijoPlays
Copy link
Contributor

In the current version there's a bug, where if your environment variable (surrounded by double quotes) ends with a backslash, there's no way to escape it (apart from switch to single quotes, but then you can't have multi-line envs anymore).

F.ex.:

Env1="...\"
Env2="..."

This will cause Env1 to be: Env1="..."Env2="..."


This PR addresses said issue by allowing the escaping of the backslash.

To fix it, one would need to adjust Env1 to be "...\"

THIS CAN BREAK EXISTING ENVS! (Best to put this into the release notes)

@coveralls
Copy link

Coverage Status

coverage: 95.538% (+0.01%) from 95.526%
when pulling b90777a on SamhammerAG:master
into ae99907 on bolorundurowb:master.

@bolorundurowb
Copy link
Owner

Hi @VijoPlays I had some time recently and reworked the Reader class and included the changes you propose here. Take a look #62

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.

3 participants