{"action":"created","issue":{"url":"https://api.github.com/repos/bundler/bundler/issues/6185","repository_url":"https://api.github.com/repos/bundler/bundler","labels_url":"https://api.github.com/repos/bundler/bundler/issues/6185/labels{/name}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/6185/comments","events_url":"https://api.github.com/repos/bundler/bundler/issues/6185/events","html_url":"https://github.com/bundler/bundler/issues/6185","id":276408332,"number":6185,"title":"Test suite does not work in path with dash","user":{"login":"voxik","id":14406,"avatar_url":"https://avatars0.githubusercontent.com/u/14406?v=4","gravatar_id":"","url":"https://api.github.com/users/voxik","html_url":"https://github.com/voxik","followers_url":"https://api.github.com/users/voxik/followers","following_url":"https://api.github.com/users/voxik/following{/other_user}","gists_url":"https://api.github.com/users/voxik/gists{/gist_id}","starred_url":"https://api.github.com/users/voxik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxik/subscriptions","organizations_url":"https://api.github.com/users/voxik/orgs","repos_url":"https://api.github.com/users/voxik/repos","events_url":"https://api.github.com/users/voxik/events{/privacy}","received_events_url":"https://api.github.com/users/voxik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-23T15:16:03Z","updated_at":"2017-11-23T15:42:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Test suite does not work in patch such as ```rubygem-bundler```, e.g. the path with dash in it. This is apparently due to d967ea961a1c269751344f00c75956892eb71a35. I believe that there is nothing magical about \"-\" character and I'd be surprised if any commonly used system has issues handling dash in path. So I wonder what are the \"special characters\" you are trying to protect against?\r\n\r\n@hmistry was talking about \"white spaces\" (and asking you to mention this somewhere, but this does not happened :/ ), but you are matching for \"\\w\", which stands for \"word character\" (typically matches matches the ASCII characters [A-Za-z0-9_] and probably more unicode characters).\r\n\r\nWhy don't you match the white space characters, i.e. \\s (which matches [ \\t\\r\\n\\f]), as was the original request?"},"comment":{"url":"https://api.github.com/repos/bundler/bundler/issues/comments/346649762","html_url":"https://github.com/bundler/bundler/issues/6185#issuecomment-346649762","issue_url":"https://api.github.com/repos/bundler/bundler/issues/6185","id":346649762,"user":{"login":"segiddins","id":1946610,"avatar_url":"https://avatars1.githubusercontent.com/u/1946610?v=4","gravatar_id":"","url":"https://api.github.com/users/segiddins","html_url":"https://github.com/segiddins","followers_url":"https://api.github.com/users/segiddins/followers","following_url":"https://api.github.com/users/segiddins/following{/other_user}","gists_url":"https://api.github.com/users/segiddins/gists{/gist_id}","starred_url":"https://api.github.com/users/segiddins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/segiddins/subscriptions","organizations_url":"https://api.github.com/users/segiddins/orgs","repos_url":"https://api.github.com/users/segiddins/repos","events_url":"https://api.github.com/users/segiddins/events{/privacy}","received_events_url":"https://api.github.com/users/segiddins/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T15:42:01Z","updated_at":"2017-11-23T15:42:01Z","author_association":"OWNER","body":"I believe so. And since none of the maintainers keep bundler in a path with non-ascii characters, it's hard for us to guarantee things will work, which would make for a bad experience for someone trying to contribute for the first time"}}
{"actor":{"display_login":"segiddins"}}