Skip to content
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

Escape password to avoid confusing bash #20

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Escape password to avoid confusing bash #20

wants to merge 3 commits into from

Conversation

nilsnh
Copy link

@nilsnh nilsnh commented Sep 9, 2014

I happened to use a password with paranthesises in it, and it didn't play nice with bash. I first tried using single quotes for hard escaping but I got confused about where in the code I could insert that.

@drywall
Copy link

drywall commented Oct 9, 2014

Hear hear! I just reported a similar issue that I believe this would resolve.

Although... is this just escaping parens? Should also escape spaces...

@nilsnh
Copy link
Author

nilsnh commented Nov 7, 2014

Replying late here. But yeah, spaces could be escaped and is easy. However, is it common to put spaces in passwords?

@nilsnh
Copy link
Author

nilsnh commented Nov 7, 2014

Correction. Spaces do not seem to need escaping.

…he db dump so that it will be able to import it. Added test for it.
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.

2 participants