{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/16577","labels_url":"https://api.github.com/repos/docker/docker/issues/16577/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/16577/comments","events_url":"https://api.github.com/repos/docker/docker/issues/16577/events","html_url":"https://github.com/docker/docker/pull/16577","id":108281914,"number":16577,"title":"Fix docker cli silently does nothing when provided a slash-prefixed container name","user":{"login":"coolljt0725","id":8232360,"avatar_url":"https://avatars.githubusercontent.com/u/8232360?v=3","gravatar_id":"","url":"https://api.github.com/users/coolljt0725","html_url":"https://github.com/coolljt0725","followers_url":"https://api.github.com/users/coolljt0725/followers","following_url":"https://api.github.com/users/coolljt0725/following{/other_user}","gists_url":"https://api.github.com/users/coolljt0725/gists{/gist_id}","starred_url":"https://api.github.com/users/coolljt0725/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolljt0725/subscriptions","organizations_url":"https://api.github.com/users/coolljt0725/orgs","repos_url":"https://api.github.com/users/coolljt0725/repos","events_url":"https://api.github.com/users/coolljt0725/events{/privacy}","received_events_url":"https://api.github.com/users/coolljt0725/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-09-25T08:11:24Z","updated_at":"2015-11-24T11:47:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/16577","html_url":"https://github.com/docker/docker/pull/16577","diff_url":"https://github.com/docker/docker/pull/16577.diff","patch_url":"https://github.com/docker/docker/pull/16577.patch"},"body":"Signed-off-by: Lei Jitang <leijitang@huawei.com>\r\n\r\nclosed #16563 \r\n\r\nWhen provided a slash-prefixed container name, the docker cli silently does nothing and thing going worse for cli `docker attach` and `docker start -ai`, it will block.\r\n<pre><code>[lei@fedora ~]$ docker start -ai /test\r\n\r\n</code></pre>\r\nand there is no any response whatever you type."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/159242041","html_url":"https://github.com/docker/docker/pull/16577#issuecomment-159242041","issue_url":"https://api.github.com/repos/docker/docker/issues/16577","id":159242041,"user":{"login":"duglin","id":1944671,"avatar_url":"https://avatars.githubusercontent.com/u/1944671?v=3","gravatar_id":"","url":"https://api.github.com/users/duglin","html_url":"https://github.com/duglin","followers_url":"https://api.github.com/users/duglin/followers","following_url":"https://api.github.com/users/duglin/following{/other_user}","gists_url":"https://api.github.com/users/duglin/gists{/gist_id}","starred_url":"https://api.github.com/users/duglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duglin/subscriptions","organizations_url":"https://api.github.com/users/duglin/orgs","repos_url":"https://api.github.com/users/duglin/repos","events_url":"https://api.github.com/users/duglin/events{/privacy}","received_events_url":"https://api.github.com/users/duglin/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T11:47:45Z","updated_at":"2015-11-24T11:47:45Z","body":"@coolljt0725 but my point is that nothing the user gives us should cause a redirect. In other words, any slashes in the name should be escaped so that we have total control over the URL and the slashes are given to the daemon \"as is\" and we let it either accept or reject the name based on those slashes."}}