{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/6866","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/6866/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/6866/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/6866/events","html_url":"https://github.com/yiisoft/yii2/issues/6866","id":54347785,"number":6866,"title":"UrlManager regression for unspecified GET parameters in pretty urls?","user":{"login":"web-melt","id":4619662,"avatar_url":"https://avatars.githubusercontent.com/u/4619662?v=3","gravatar_id":"","url":"https://api.github.com/users/web-melt","html_url":"https://github.com/web-melt","followers_url":"https://api.github.com/users/web-melt/followers","following_url":"https://api.github.com/users/web-melt/following{/other_user}","gists_url":"https://api.github.com/users/web-melt/gists{/gist_id}","starred_url":"https://api.github.com/users/web-melt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/web-melt/subscriptions","organizations_url":"https://api.github.com/users/web-melt/orgs","repos_url":"https://api.github.com/users/web-melt/repos","events_url":"https://api.github.com/users/web-melt/events{/privacy}","received_events_url":"https://api.github.com/users/web-melt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T17:05:13Z","updated_at":"2015-02-18T04:52:35Z","closed_at":"2015-01-14T17:58:12Z","body":"In Yii 1.1  one could create a route and parameters not explicitly specified in the route could still be attached to the URL in path format.\r\n\r\nConfig Example (1.1):\r\n\r\n    'urlManager'=>array(\r\n        'urlFormat'=>'path',\r\n        'rules'=>array(\r\n            '<controller:\\w+>/<action:\\w+>'=>'<controller>/<action>',\r\n        ),\r\n        'showScriptName' => false,\r\n    ),\r\n\r\nThis made it possible to add as many GET parameters (Format: paramName/value) \r\nto the URL w/o specifying their parameter names upfront in the route.\r\n\r\nEx.\r\ncontrollerName/actionName/foo/bar would result in\r\n\r\n    echo $_GET['foo'];  #bar\r\n\r\nIn Yii2 that feature seems to be missing, instead an error is thrown:\r\n\r\n>No matching URL rules. Using default URL parsing logic.\r\n>Route requested: 'controllerName/actionName/foo/bar\r\n>exception 'yii\\base\\InvalidRouteException' with message 'Unable to resolve the request \"controllerName/actionName/foo/bar\".\r\n\r\nWas this feature dropped or is there an alternative way to achieving the same result?\r\n\r\nGeneral Info:\r\nPHP 5.4.36\r\nYii 2.0.2"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/74812016","html_url":"https://github.com/yiisoft/yii2/issues/6866#issuecomment-74812016","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/6866","id":74812016,"user":{"login":"mezlad","id":10708196,"avatar_url":"https://avatars.githubusercontent.com/u/10708196?v=3","gravatar_id":"","url":"https://api.github.com/users/mezlad","html_url":"https://github.com/mezlad","followers_url":"https://api.github.com/users/mezlad/followers","following_url":"https://api.github.com/users/mezlad/following{/other_user}","gists_url":"https://api.github.com/users/mezlad/gists{/gist_id}","starred_url":"https://api.github.com/users/mezlad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mezlad/subscriptions","organizations_url":"https://api.github.com/users/mezlad/orgs","repos_url":"https://api.github.com/users/mezlad/repos","events_url":"https://api.github.com/users/mezlad/events{/privacy}","received_events_url":"https://api.github.com/users/mezlad/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T04:52:35Z","updated_at":"2015-02-18T04:52:35Z","body":"Why close this when a lot of developers who are comfortable with this feature from yii 1.1 is missing in yii2? "}}