{"action":"closed","issue":{"url":"https://api.github.com/repos/aptible/aptible-cli/issues/95","labels_url":"https://api.github.com/repos/aptible/aptible-cli/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/aptible/aptible-cli/issues/95/comments","events_url":"https://api.github.com/repos/aptible/aptible-cli/issues/95/events","html_url":"https://github.com/aptible/aptible-cli/issues/95","id":63086750,"number":95,"title":"erroneous config value escaping","user":{"login":"mars","id":17164,"avatar_url":"https://avatars.githubusercontent.com/u/17164?v=3","gravatar_id":"","url":"https://api.github.com/users/mars","html_url":"https://github.com/mars","followers_url":"https://api.github.com/users/mars/followers","following_url":"https://api.github.com/users/mars/following{/other_user}","gists_url":"https://api.github.com/users/mars/gists{/gist_id}","starred_url":"https://api.github.com/users/mars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mars/subscriptions","organizations_url":"https://api.github.com/users/mars/orgs","repos_url":"https://api.github.com/users/mars/repos","events_url":"https://api.github.com/users/mars/events{/privacy}","received_events_url":"https://api.github.com/users/mars/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T20:39:43Z","updated_at":"2015-03-26T21:37:50Z","closed_at":"2015-03-26T21:37:50Z","body":"I’m setting the Postgres connection string for our Node server in a config var:\r\n\r\n    $  aptible config:set --app aduro-coach-dev DATABASE_URL=\"postgresql://aptible:XXXXXXXXXX-@X.X.X.X:XXXXX/db?sslmode=require”\r\n\r\n…but the `sslmode` value seems to have no effect (our Postgres connection is denied for not using SSL.) The output of `aptible config` reflects that the variable's value is being mutated, adding slashes before the question mark & equals:\r\n\r\n    $  aptible config --app aduro-coach-dev\r\n    DATABASE_URL=postgresql://aptible:XXXXXXXXXX-@X.X.X.X:XXXXX/db\\?sslmode\\=require\r\n\r\n\r\nI suspect this unintended escaping is preventing the SSL mode from being recognized,\r\n\r\nUsing aptible-cli 0.5.6\r\n\r\nAny idea how to avoid this?"}}