{"action":"closed","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4501","repository_url":"https://api.github.com/repos/bcit-ci/CodeIgniter","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4501/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4501/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4501/events","html_url":"https://github.com/bcit-ci/CodeIgniter/issues/4501","id":137951128,"number":4501,"title":"Uri routing doesn't check HTTP verbs when URI match \"magic routing\"","user":{"login":"sergioalcaraz","id":10732001,"avatar_url":"https://avatars.githubusercontent.com/u/10732001?v=3","gravatar_id":"","url":"https://api.github.com/users/sergioalcaraz","html_url":"https://github.com/sergioalcaraz","followers_url":"https://api.github.com/users/sergioalcaraz/followers","following_url":"https://api.github.com/users/sergioalcaraz/following{/other_user}","gists_url":"https://api.github.com/users/sergioalcaraz/gists{/gist_id}","starred_url":"https://api.github.com/users/sergioalcaraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergioalcaraz/subscriptions","organizations_url":"https://api.github.com/users/sergioalcaraz/orgs","repos_url":"https://api.github.com/users/sergioalcaraz/repos","events_url":"https://api.github.com/users/sergioalcaraz/events{/privacy}","received_events_url":"https://api.github.com/users/sergioalcaraz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T18:20:10Z","updated_at":"2016-03-02T18:37:30Z","closed_at":"2016-03-02T18:37:30Z","body":"Hello, I have set up a route with HTTP verb such as:\r\nI expect the controller method is executed only when the HTTP verb is POST but runs the same if the verb is GET, PUT or another.\r\nThat is not checking if the HTTP verb is specified in the configuration file routes.php\r\nThis only happens to me when URI segments is equal to the \"magic routing\" that performs codeigniter.\r\n\r\nFor example\r\nSuppose I have the following\r\nController: Customers\r\nMethod: create\r\nAnd routes\r\nThis route is not verified the HTTP verb, and any verb is executed\r\n$route['customers/create'] ['post'] = 'customers/create';\r\nOn this route the HTTP verb is verified, and don't execute the \r\n$route['customers/new_customer'] ['post'] = 'customers/create';\r\nThank you"}}