{"action":"created","issue":{"url":"https://api.github.com/repos/falconry/falcon/issues/702","repository_url":"https://api.github.com/repos/falconry/falcon","labels_url":"https://api.github.com/repos/falconry/falcon/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/falconry/falcon/issues/702/comments","events_url":"https://api.github.com/repos/falconry/falcon/issues/702/events","html_url":"https://github.com/falconry/falcon/issues/702","id":131135041,"number":702,"title":"Path segment in one route's URI template masks the field expression in another route","user":{"login":"kgriffs","id":719939,"avatar_url":"https://avatars.githubusercontent.com/u/719939?v=3","gravatar_id":"","url":"https://api.github.com/users/kgriffs","html_url":"https://github.com/kgriffs","followers_url":"https://api.github.com/users/kgriffs/followers","following_url":"https://api.github.com/users/kgriffs/following{/other_user}","gists_url":"https://api.github.com/users/kgriffs/gists{/gist_id}","starred_url":"https://api.github.com/users/kgriffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgriffs/subscriptions","organizations_url":"https://api.github.com/users/kgriffs/orgs","repos_url":"https://api.github.com/users/kgriffs/repos","events_url":"https://api.github.com/users/kgriffs/events{/privacy}","received_events_url":"https://api.github.com/users/kgriffs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/falconry/falcon/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/falconry/falcon/milestones/20","html_url":"https://github.com/falconry/falcon/milestones/0.4","labels_url":"https://api.github.com/repos/falconry/falcon/milestones/20/labels","id":1561548,"number":20,"title":"0.4","description":"","creator":{"login":"kgriffs","id":719939,"avatar_url":"https://avatars.githubusercontent.com/u/719939?v=3","gravatar_id":"","url":"https://api.github.com/users/kgriffs","html_url":"https://github.com/kgriffs","followers_url":"https://api.github.com/users/kgriffs/followers","following_url":"https://api.github.com/users/kgriffs/following{/other_user}","gists_url":"https://api.github.com/users/kgriffs/gists{/gist_id}","starred_url":"https://api.github.com/users/kgriffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgriffs/subscriptions","organizations_url":"https://api.github.com/users/kgriffs/orgs","repos_url":"https://api.github.com/users/kgriffs/repos","events_url":"https://api.github.com/users/kgriffs/events{/privacy}","received_events_url":"https://api.github.com/users/kgriffs/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2016-02-03T17:22:31Z","updated_at":"2016-03-02T23:25:30Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-02-03T19:56:45Z","updated_at":"2016-03-03T00:33:56Z","closed_at":null,"body":"The following test demonstrates the issue. The assertion fails since the resulting status code is 404, rather than 200. \"/v2.0/thing\" should route to `/{version}/thing` instead of `/v2.0`.\r\n\r\n```py\r\ndef test_string_vs_var(self):\r\n    self.api.add_route('/v2.0', self.resource)\r\n    self.simulate_request('/v2.0')\r\n\r\n    self.api.add_route('/{version}/thing', testing.TestResource())\r\n    self.simulate_request('/v2.0/thing')\r\n    self.assertEqual(self.srmock.status, falcon.HTTP_200)\r\n```\r\n\r\n```\r\n/{version}/foo/bar\r\n/v1.0\r\n```"},"comment":{"url":"https://api.github.com/repos/falconry/falcon/issues/comments/191508431","html_url":"https://github.com/falconry/falcon/issues/702#issuecomment-191508431","issue_url":"https://api.github.com/repos/falconry/falcon/issues/702","id":191508431,"user":{"login":"kgriffs","id":719939,"avatar_url":"https://avatars.githubusercontent.com/u/719939?v=3","gravatar_id":"","url":"https://api.github.com/users/kgriffs","html_url":"https://github.com/kgriffs","followers_url":"https://api.github.com/users/kgriffs/followers","following_url":"https://api.github.com/users/kgriffs/following{/other_user}","gists_url":"https://api.github.com/users/kgriffs/gists{/gist_id}","starred_url":"https://api.github.com/users/kgriffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgriffs/subscriptions","organizations_url":"https://api.github.com/users/kgriffs/orgs","repos_url":"https://api.github.com/users/kgriffs/repos","events_url":"https://api.github.com/users/kgriffs/events{/privacy}","received_events_url":"https://api.github.com/users/kgriffs/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T00:33:56Z","updated_at":"2016-03-03T00:33:56Z","body":"I'm working on this. Hoping to get it in for 0.4."}}