{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/7881","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/7881/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/7881/comments","events_url":"https://api.github.com/repos/angular/angular/issues/7881/events","html_url":"https://github.com/angular/angular/issues/7881","id":145326228,"number":7881,"title":"bug(Router): Query Parameters Stripped On Reload","user":{"login":"awiseman","id":1609121,"avatar_url":"https://avatars.githubusercontent.com/u/1609121?v=3","gravatar_id":"","url":"https://api.github.com/users/awiseman","html_url":"https://github.com/awiseman","followers_url":"https://api.github.com/users/awiseman/followers","following_url":"https://api.github.com/users/awiseman/following{/other_user}","gists_url":"https://api.github.com/users/awiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/awiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awiseman/subscriptions","organizations_url":"https://api.github.com/users/awiseman/orgs","repos_url":"https://api.github.com/users/awiseman/repos","events_url":"https://api.github.com/users/awiseman/events{/privacy}","received_events_url":"https://api.github.com/users/awiseman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-02T02:16:51Z","updated_at":"2016-04-07T00:44:00Z","closed_at":null,"body":"**IMPORTANT**: This repository's issues are reserved for feature requests and bug reports. Do not submit support requests here, see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question. \r\n\r\n\r\n**Steps to reproduce and a minimal demo of the problem**\r\n\r\nNote:  This is hard to demo in a plunk due to the way plnkr encapsulates the app.  This plunk at least provides code that can be copied into a local environment, though.  If ran using live-server (as described in the quickstart), the issue is readily visible.\r\n\r\nhttp://plnkr.co/edit/4vo91z5wQkGmKpsBtgnp?p=preview\r\n\r\n1. Create a parent route that uses '/...' as the path\r\n2. Create a child route from that parent\r\n3. Apply query parameter to URL\r\n4. Perform a browser page refresh\r\n\r\n**Current behavior**\r\n\r\nChild route query parameters are stripped from URL on page refresh\r\n\r\n**Expected/desired behavior**\r\n\r\nQuery parameters should remain intact\r\n\r\n**Other information**\r\n\r\nThis only seems to happen if the parent route definition uses the root path ('/...').  The issue doesn't occur if the parent path is anything else (e.g. '/parent/...')."},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/206636976","html_url":"https://github.com/angular/angular/issues/7881#issuecomment-206636976","issue_url":"https://api.github.com/repos/angular/angular/issues/7881","id":206636976,"user":{"login":"p-mcgowan","id":8646562,"avatar_url":"https://avatars.githubusercontent.com/u/8646562?v=3","gravatar_id":"","url":"https://api.github.com/users/p-mcgowan","html_url":"https://github.com/p-mcgowan","followers_url":"https://api.github.com/users/p-mcgowan/followers","following_url":"https://api.github.com/users/p-mcgowan/following{/other_user}","gists_url":"https://api.github.com/users/p-mcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/p-mcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-mcgowan/subscriptions","organizations_url":"https://api.github.com/users/p-mcgowan/orgs","repos_url":"https://api.github.com/users/p-mcgowan/repos","events_url":"https://api.github.com/users/p-mcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/p-mcgowan/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T00:44:00Z","updated_at":"2016-04-07T00:44:00Z","body":"+1\r\n"}}