{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1597","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1597/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1597/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1597/events","html_url":"https://github.com/slimphp/Slim/pull/1597","id":117420156,"number":1597,"title":"Regression fix for Route Group","user":{"login":"silentworks","id":79497,"avatar_url":"https://avatars.githubusercontent.com/u/79497?v=3","gravatar_id":"","url":"https://api.github.com/users/silentworks","html_url":"https://github.com/silentworks","followers_url":"https://api.github.com/users/silentworks/followers","following_url":"https://api.github.com/users/silentworks/following{/other_user}","gists_url":"https://api.github.com/users/silentworks/gists{/gist_id}","starred_url":"https://api.github.com/users/silentworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentworks/subscriptions","organizations_url":"https://api.github.com/users/silentworks/orgs","repos_url":"https://api.github.com/users/silentworks/repos","events_url":"https://api.github.com/users/silentworks/events{/privacy}","received_events_url":"https://api.github.com/users/silentworks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slimphp/Slim/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/slimphp/Slim/labels/Slim%203","name":"Slim 3","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/slimphp/Slim/milestones/24","html_url":"https://github.com/slimphp/Slim/milestones/3.0.0%20RC3","labels_url":"https://api.github.com/repos/slimphp/Slim/milestones/24/labels","id":1414120,"number":24,"title":"3.0.0 RC3","description":"","creator":{"login":"silentworks","id":79497,"avatar_url":"https://avatars.githubusercontent.com/u/79497?v=3","gravatar_id":"","url":"https://api.github.com/users/silentworks","html_url":"https://github.com/silentworks","followers_url":"https://api.github.com/users/silentworks/followers","following_url":"https://api.github.com/users/silentworks/following{/other_user}","gists_url":"https://api.github.com/users/silentworks/gists{/gist_id}","starred_url":"https://api.github.com/users/silentworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silentworks/subscriptions","organizations_url":"https://api.github.com/users/silentworks/orgs","repos_url":"https://api.github.com/users/silentworks/repos","events_url":"https://api.github.com/users/silentworks/events{/privacy}","received_events_url":"https://api.github.com/users/silentworks/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-11-16T16:53:37Z","updated_at":"2015-11-18T11:58:23Z","due_on":"2015-12-19T00:00:00Z","closed_at":null},"comments":10,"created_at":"2015-11-17T18:36:49Z","updated_at":"2015-11-18T20:47:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/slimphp/Slim/pulls/1597","html_url":"https://github.com/slimphp/Slim/pull/1597","diff_url":"https://github.com/slimphp/Slim/pull/1597.diff","patch_url":"https://github.com/slimphp/Slim/pull/1597.patch"},"body":"These are the cases covered:\r\n\r\nSingle routes:\r\n\r\nRoute URI | Final pattern registered with router\r\n--------- | -----\r\n`'/foo'`  | `/foo`\r\n`'/foo/'` | `/foo/`\r\n`'foo'`   | `/foo`\r\n`'/'`     | `/`\r\n`''`      | `/`\r\n\r\n\r\nRoute groups:\r\n\r\nGroup 1  | Group 2 (if exists)  | Route URI | Final pattern registered with router\r\n-------- | -------- | --------- | -------------\r\n`'/foo'` |          | `'/bar'`  | `/foo/bar`\r\n`'/foo'` |          | `'/bar/'` | `/foo/bar/`\r\n`'/foo'` |          | `'/'`     | `/foo`\r\n`'/foo'` |          | `''`      | `/foo`\r\n`'/foo'` | `'/baz'` | `'/'`     | `/foo/baz`\r\n`'/foo'` | `'/baz'` | `''`      | `/foo/baz`\r\n`'/foo'` | `'/baz'` | `'/bar'`  | `/foo/baz/bar`\r\n`'/foo'` | `'/baz'` | `'/bar/'` | `/foo/baz/bar/`\r\n`'/foo'` | `'/'`    | `'/bar'`  | `/foo/bar`\r\n`'/foo'` | `'/'`    | `'bar'`   | `/foo/bar`\r\n`'/foo'` | `''`     | `'/bar'`  | `/foo/bar`\r\n`'/foo'` | `''`     | `'bar'`   | `/foo/bar`\r\n`'/'`    |          | `'/bar'`  | `/bar`\r\n`'/'`    |          | `'/bar/'` | `/bar/`\r\n`'/'`    |          | `'/'`     | `/`\r\n`'/'`    |          | `''`      | `/`\r\n`'/'`    | `'/baz'` | `'/'`     | `/baz`\r\n`'/'`    | `'/baz'` | `''`      | `/baz`\r\n`'/'`    | `'/baz'` | `'/bar'`  | `/baz/bar`\r\n`'/'`    | `'/baz'` | `'/bar/'` | `/baz/bar/`\r\n`'/'`    | `'/'`    | `'/bar'`  | `/bar`\r\n`'/'`    | `'/'`    | `'bar'`   | `/bar`\r\n`'/'`    | `''`     | `'/bar'`  | `/bar`\r\n`'/'`    | `''`     | `'bar'`   | `/bar`\r\n`''`    |          | `'/bar'`  | `/bar`\r\n`''`    |          | `'/bar/'` | `/bar/`\r\n`''`    |          | `'/'`     | `/`\r\n`''`    |          | `''`      | `/`\r\n`''`    | `'/baz'` | `'/'`     | `/baz`\r\n`''`    | `'/baz'` | `''`      | `/baz`\r\n`''`    | `'/baz'` | `'/bar'`  | `/baz/bar`\r\n`''`    | `'/baz'` | `'/bar/'` | `/baz/bar/`\r\n`''`    | `'/'`    | `'/bar'`  | `/bar`\r\n`''`    | `'/'`    | `'bar'`   | `/bar`\r\n`''`    | `''`     | `'/bar'`  | `/bar`\r\n`''`    | `''`     | `'bar'`   | `/bar`\r\n\r\nRoutes and Route Groups are expected to always start with a slash `/`.\r\n\r\nRelated to #1578 \r\n\r\nFeedback welcome @akrabat @designermonkey @geggleto @dopesong"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/157858966","html_url":"https://github.com/slimphp/Slim/pull/1597#issuecomment-157858966","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1597","id":157858966,"user":{"login":"akrabat","id":33135,"avatar_url":"https://avatars.githubusercontent.com/u/33135?v=3","gravatar_id":"","url":"https://api.github.com/users/akrabat","html_url":"https://github.com/akrabat","followers_url":"https://api.github.com/users/akrabat/followers","following_url":"https://api.github.com/users/akrabat/following{/other_user}","gists_url":"https://api.github.com/users/akrabat/gists{/gist_id}","starred_url":"https://api.github.com/users/akrabat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrabat/subscriptions","organizations_url":"https://api.github.com/users/akrabat/orgs","repos_url":"https://api.github.com/users/akrabat/repos","events_url":"https://api.github.com/users/akrabat/events{/privacy}","received_events_url":"https://api.github.com/users/akrabat/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T20:47:52Z","updated_at":"2015-11-18T20:47:52Z","body":"ah yeah - I didn't simplify down enough for that one."}}