{"action":"closed","issue":{"url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/122","labels_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/122/labels{/name}","comments_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/122/comments","events_url":"https://api.github.com/repos/dagolden/Path-Tiny/issues/122/events","html_url":"https://github.com/dagolden/Path-Tiny/issues/122","id":57535671,"number":122,"title":"Tilde expansion bug for paths with whitespace.","user":{"login":"regina-verbae","id":10984321,"avatar_url":"https://avatars.githubusercontent.com/u/10984321?v=3","gravatar_id":"","url":"https://api.github.com/users/regina-verbae","html_url":"https://github.com/regina-verbae","followers_url":"https://api.github.com/users/regina-verbae/followers","following_url":"https://api.github.com/users/regina-verbae/following{/other_user}","gists_url":"https://api.github.com/users/regina-verbae/gists{/gist_id}","starred_url":"https://api.github.com/users/regina-verbae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regina-verbae/subscriptions","organizations_url":"https://api.github.com/users/regina-verbae/orgs","repos_url":"https://api.github.com/users/regina-verbae/repos","events_url":"https://api.github.com/users/regina-verbae/events{/privacy}","received_events_url":"https://api.github.com/users/regina-verbae/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T23:20:09Z","updated_at":"2015-03-04T16:38:13Z","closed_at":"2015-03-04T16:38:13Z","body":"Because `glob` uses whitespace to separate patterns, the tilde expansion code in `path` can produce unexpected results.\r\n\r\nExample:\r\n```\r\n$ perl -MPath::Tiny -E 'say path(\"~blah blah\")'\r\n~blah\r\n```\r\n\r\nAnother:\r\n```\r\n$ perl -MPath::Tiny -E 'say path(\"~username foo\")'\r\n/home/username\r\n```"}}