{"action":"created","issue":{"url":"https://api.github.com/repos/docker/go-p9p/issues/14","repository_url":"https://api.github.com/repos/docker/go-p9p","labels_url":"https://api.github.com/repos/docker/go-p9p/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/docker/go-p9p/issues/14/comments","events_url":"https://api.github.com/repos/docker/go-p9p/issues/14/events","html_url":"https://github.com/docker/go-p9p/issues/14","id":156116826,"number":14,"title":"9pr: cd/ls broken","user":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-21T19:07:35Z","updated_at":"2016-05-25T22:06:43Z","closed_at":null,"body":"* ls tries to walk to empty string (not empty walk!) if you just ls - that is, a file with an empty name, not the local directory.\r\n* cd doesn't seem to handle .., just sending a walk to empty string that fails.\r\n* cd to \"..\" (with the quotes) fails horribly, as 9pr starts to poke at unknown fids (probably didn't check that things "},"comment":{"url":"https://api.github.com/repos/docker/go-p9p/issues/comments/221722388","html_url":"https://github.com/docker/go-p9p/issues/14#issuecomment-221722388","issue_url":"https://api.github.com/repos/docker/go-p9p/issues/14","id":221722388,"user":{"login":"joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/joushou","html_url":"https://github.com/joushou","followers_url":"https://api.github.com/users/joushou/followers","following_url":"https://api.github.com/users/joushou/following{/other_user}","gists_url":"https://api.github.com/users/joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushou/subscriptions","organizations_url":"https://api.github.com/users/joushou/orgs","repos_url":"https://api.github.com/users/joushou/repos","events_url":"https://api.github.com/users/joushou/events{/privacy}","received_events_url":"https://api.github.com/users/joushou/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T22:06:43Z","updated_at":"2016-05-25T22:06:43Z","body":"I can't get 9pr to connect to 9ps at all now that I try.\r\n\r\nI was 9pr against my own fileserver from https://github.com/joushou/qptools (there's two example implementations, ramfs and exportfs for convenience). Implementations that proxy the requests to the local fileserver (exportfs in qptools included, most likely also 9ps) probably permit walks to []string{\"\"} due to platform details, but a \"cleaner\" server (ramfs in qptools, for example) will treat a walk to []string{\"\"} as looking for a file without a name, and just spit out a no such file or directory error.\r\n\r\nThe issue appears to be related to some crude argument processing in 9pr, using string manipulation (strings.Split, strings.Trim, ...) to try to generate the path slice. Cutting off the last entry off it's 0 length fixes a plain \"ls\", but cd still behaves weird. Haven't had time to look at it. I just spun 9pr up to test it for fun, after all."}}
{"actor":{"display_login":"joushou"}}