Skip to content

Does not support spaces in password #49

Description

@SOF3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions