{"action":"created","issue":{"url":"https://api.github.com/repos/jpetazzo/nsenter/issues/64","labels_url":"https://api.github.com/repos/jpetazzo/nsenter/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/jpetazzo/nsenter/issues/64/comments","events_url":"https://api.github.com/repos/jpetazzo/nsenter/issues/64/events","html_url":"https://github.com/jpetazzo/nsenter/pull/64","id":66535953,"number":64,"title":"fix docker-enter script so it can handle environment variables which contain whitespace","user":{"login":"ajdlinux","id":2901442,"avatar_url":"https://avatars.githubusercontent.com/u/2901442?v=3","gravatar_id":"","url":"https://api.github.com/users/ajdlinux","html_url":"https://github.com/ajdlinux","followers_url":"https://api.github.com/users/ajdlinux/followers","following_url":"https://api.github.com/users/ajdlinux/following{/other_user}","gists_url":"https://api.github.com/users/ajdlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/ajdlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajdlinux/subscriptions","organizations_url":"https://api.github.com/users/ajdlinux/orgs","repos_url":"https://api.github.com/users/ajdlinux/repos","events_url":"https://api.github.com/users/ajdlinux/events{/privacy}","received_events_url":"https://api.github.com/users/ajdlinux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-06T05:58:42Z","updated_at":"2015-05-05T12:44:36Z","closed_at":"2015-04-07T04:50:11Z","pull_request":{"url":"https://api.github.com/repos/jpetazzo/nsenter/pulls/64","html_url":"https://github.com/jpetazzo/nsenter/pull/64","diff_url":"https://github.com/jpetazzo/nsenter/pull/64.diff","patch_url":"https://github.com/jpetazzo/nsenter/pull/64.patch"},"body":"Fixes #62. Instead of capturing the environment variables as a single string, parse the /proc/$PID/environ file using the null byte as a delimiter, and construct an array of variables, the items of which can then be individually quoted. Unfortunately, it does introduce a dependency on bash (at least, it doesn't work with dash, which is /bin/sh on Debian), but it should work even for more obscure values such as newlines without any problems."},"comment":{"url":"https://api.github.com/repos/jpetazzo/nsenter/issues/comments/99068165","html_url":"https://github.com/jpetazzo/nsenter/pull/64#issuecomment-99068165","issue_url":"https://api.github.com/repos/jpetazzo/nsenter/issues/64","id":99068165,"user":{"login":"bbinet","id":76281,"avatar_url":"https://avatars.githubusercontent.com/u/76281?v=3","gravatar_id":"","url":"https://api.github.com/users/bbinet","html_url":"https://github.com/bbinet","followers_url":"https://api.github.com/users/bbinet/followers","following_url":"https://api.github.com/users/bbinet/following{/other_user}","gists_url":"https://api.github.com/users/bbinet/gists{/gist_id}","starred_url":"https://api.github.com/users/bbinet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbinet/subscriptions","organizations_url":"https://api.github.com/users/bbinet/orgs","repos_url":"https://api.github.com/users/bbinet/repos","events_url":"https://api.github.com/users/bbinet/events{/privacy}","received_events_url":"https://api.github.com/users/bbinet/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T12:44:36Z","updated_at":"2015-05-05T12:44:36Z","body":"I can confirm that it now works perfectly for me, thanks. "}}