grunt-deployments icon indicating copy to clipboard operation
grunt-deployments copied to clipboard

Output error using db_pull

Open getdave opened this issue 12 years ago • 5 comments

Discovered potential error when using the db_pull command. Target database db dump file has contents of:

/bin/sh: 8bN[N7Nwe.1: command not found

Not sure what's going on.

getdave avatar Jun 12 '13 12:06 getdave

Not able to replicate.

getdave avatar Jan 02 '14 11:01 getdave

I can replicate this.

It seems this happens when the target db password contains a semi-colon.

"pass": "8!27;=@@GT{J"

Gives me a target database dump file with the following contents:

/bin/sh: =@@GT{J: command not found

davemac avatar May 07 '14 11:05 davemac

Any ideas how we could escape this?

getdave avatar May 09 '14 11:05 getdave

I'm a front end developer who's learning (and very interested) in grunt, node.js etc. I'm definitely out of my comfort zone, but I'll do some research and see if I can come up with a solution.

It's shell.js handling the password?

davemac avatar May 09 '14 12:05 davemac

I'm a front end developer who's learning (and very interested) in grunt, node.js etc

So am I Dave, so am I :) Flagging this up as a bug that needs resolving.

getdave avatar May 11 '14 21:05 getdave