cbetta / dokkufy

Dokku Provisioning Made Easy
MIT License
233 stars 15 forks source link

SSH wrapper doesn't properly escape special characters #13

Closed jnv closed 9 years ago

jnv commented 10 years ago

I want to use dokku to setup ENV variables, for example:

dokku config:set SECRET_KEY='8l(3nkh$mids(%^y43api+dmulxtc#gc$5hm^31o+943b*s0t('

This however fails with: sh: 1: Syntax error: "(" unexpected

Looking at Dokku class, I suspect this is because special characters are not properly escaped/wrapped in.

Running the same command directly through SSH works, so the problem is not on Dokku's end.

cbetta commented 9 years ago

I decided to drop this functionality. For more details see #16