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

Does not support spaces in password #49

Open
SOF3 opened this issue Feb 20, 2020 · 0 comments
Open

Does not support spaces in password #49

SOF3 opened this issue Feb 20, 2020 · 0 comments

Comments

@SOF3
Copy link
Contributor

SOF3 commented Feb 20, 2020

Try with the env var NGROK_PASSWORD="foo bar"

Result:

 + exec ngrok http '-region=ap' '-auth=user:foo\' bar 8000
ERROR:  You must specify a single argument: a port or address to tunnel to.
ERROR:  You specified 2 arguments: [bar 8000]

The problem is in this line:

ARGS="$ARGS -auth=$NGROK_USERNAME:$NGROK_PASSWORD "

$NGROK_PASSWORD should be quoted and escaped.

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

No branches or pull requests

1 participant