{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/26582","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/26582/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/26582/comments","events_url":"https://api.github.com/repos/angular/angular/issues/26582/events","html_url":"https://github.com/angular/angular/issues/26582","id":371891276,"node_id":"MDU6SXNzdWUzNzE4OTEyNzY=","number":26582,"title":"Router - Paste URL with params in navigation-bar not working anymore in 7.0 ","user":{"login":"Knacktus","id":3724638,"node_id":"MDQ6VXNlcjM3MjQ2Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3724638?v=4","gravatar_id":"","url":"https://api.github.com/users/Knacktus","html_url":"https://github.com/Knacktus","followers_url":"https://api.github.com/users/Knacktus/followers","following_url":"https://api.github.com/users/Knacktus/following{/other_user}","gists_url":"https://api.github.com/users/Knacktus/gists{/gist_id}","starred_url":"https://api.github.com/users/Knacktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knacktus/subscriptions","organizations_url":"https://api.github.com/users/Knacktus/orgs","repos_url":"https://api.github.com/users/Knacktus/repos","events_url":"https://api.github.com/users/Knacktus/events{/privacy}","received_events_url":"https://api.github.com/users/Knacktus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T10:06:32Z","updated_at":"2018-10-19T10:06:32Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[x] Regression (a behavior that used to work and stopped working in a new release)\r\n</code></pre>\r\n\r\n## Current behavior\r\nPasting an URL with params into the Navbar (e.g. http://localhost:4200/connect/123/123 where 123/123 are the params) is not working any more. \r\n\r\nLooks like Angular doesn't interpret the route correctly anymore? Angular seems to treat connect as the base url.\r\n\r\nError Messages:\r\n\r\n<pre><code>\r\nLoading failed for the <script> with source “http://localhost:4200/connect/123/runtime.js”. 123:15:1\r\nLoading failed for the <script> with source “http://localhost:4200/connect/123/polyfills.js”. 123:15:1\r\nLoading failed for the <script> with source “http://localhost:4200/connect/123/styles.js”. 123:15:1\r\nLoading failed for the <script> with source “http://localhost:4200/connect/123/vendor.js”. 123:15:1\r\nLoading failed for the <script> with source “http://localhost:4200/connect/123/main.js”. 123:15:1 \r\n</code></pre>\r\n\r\nThese are my route definitions (feature module):\r\n\r\n<pre><code>\r\nconst routes: Routes = [\r\n  {\r\n    path: \"connect/:connectProdRevId/:revRule/:asOf\",\r\n    canActivate: [ConnectRouteGuardService],\r\n    component: ConnectComponent\r\n  },\r\n  { path: \"connect/:connectProdRevId/:revRule\", canActivate: [ConnectRouteGuardService], component: ConnectComponent },\r\n  {\r\n    path: \"connect\",\r\n    component: ConnectProjectChooserComponent,\r\n    children: [{ path: \"**\", component: ConnectProjectChooserComponent }]\r\n  }\r\n];\r\n</code></pre>\r\n\r\n## Expected behavior\r\nShould load the app, navigate to the url and resolve the params.\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nAngular version: 7.0\r\n\r\nBrowser:\r\n- [x] Chrome (desktop) version XX\r\n- [ ] Chrome (Android) version XX\r\n- [ ] Chrome (iOS) version XX\r\n- [x] Firefox version XX\r\n- [ ] Safari (desktop) version XX\r\n- [ ] Safari (iOS) version XX\r\n- [ ] IE version XX\r\n- [ ] Edge version XX\r\n \r\nFor Tooling issues:\r\n- Node version: 8.11.3\r\n- Platform:  Windows 10\r\n"}}
{"actor":{"display_login":"Knacktus"}}