{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Diagnostics/issues/478","repository_url":"https://api.github.com/repos/aspnet/Diagnostics","labels_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/478/comments","events_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/478/events","html_url":"https://github.com/aspnet/Diagnostics/issues/478","id":358706484,"node_id":"MDU6SXNzdWUzNTg3MDY0ODQ=","number":478,"title":"UseStatusCodePagesWithReExecute behaves differently in 2.1.x (migration from 1.1.x)","user":{"login":"mkArtakMSFT","id":34246760,"node_id":"MDQ6VXNlcjM0MjQ2NzYw","avatar_url":"https://avatars3.githubusercontent.com/u/34246760?v=4","gravatar_id":"","url":"https://api.github.com/users/mkArtakMSFT","html_url":"https://github.com/mkArtakMSFT","followers_url":"https://api.github.com/users/mkArtakMSFT/followers","following_url":"https://api.github.com/users/mkArtakMSFT/following{/other_user}","gists_url":"https://api.github.com/users/mkArtakMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/mkArtakMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkArtakMSFT/subscriptions","organizations_url":"https://api.github.com/users/mkArtakMSFT/orgs","repos_url":"https://api.github.com/users/mkArtakMSFT/repos","events_url":"https://api.github.com/users/mkArtakMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/mkArtakMSFT/received_events","type":"User","site_admin":false},"labels":[{"id":84862853,"node_id":"MDU6TGFiZWw4NDg2Mjg1Mw==","url":"https://api.github.com/repos/aspnet/Diagnostics/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"rynowak","id":1430011,"node_id":"MDQ6VXNlcjE0MzAwMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1430011?v=4","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"assignees":[{"login":"rynowak","id":1430011,"node_id":"MDQ6VXNlcjE0MzAwMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1430011?v=4","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-09-10T16:48:14Z","updated_at":"2018-09-10T21:43:29Z","closed_at":null,"author_association":"NONE","body":"_From @drauch on Monday, 10 September 2018 08:56:29_\r\n\r\nHi!\r\n\r\nWe migrated from ASP.NET Core 1.1.x to 2.1.x and run into problems with our `UseStatusCodePagesWithReExecute()` middleware.\r\n\r\nUsing `UseStatusCodePagesWithReExecute(\"/Error\")` behaves different now. Previously, if the user was at `https://server/WebApp/12345` and run into an exception we could obtain `12345` from the route values when executing the Error controller action. Now it is not possible anymore.\r\n\r\nAre the route values cleared in some way now? Why is this behaving differently? How to obtain `12345` when executing the Error action?\r\n\r\nMaybe related:\r\nBefore upgrading we hosted our application at `https://server/WebApp/`, which is no longer possible in ASP.NET Core 2.1.x. We must host it at `https://server/` now and use `UsePathBase(\"/WebApp\")` instead.\r\n\r\n_Copied from original issue: aspnet/Mvc#8437_"},"comment":{"url":"https://api.github.com/repos/aspnet/Diagnostics/issues/comments/420071416","html_url":"https://github.com/aspnet/Diagnostics/issues/478#issuecomment-420071416","issue_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/478","id":420071416,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDA3MTQxNg==","user":{"login":"rynowak","id":1430011,"node_id":"MDQ6VXNlcjE0MzAwMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1430011?v=4","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T21:43:29Z","updated_at":"2018-09-10T21:43:29Z","author_association":"MEMBER","body":"Is your `/Error` running through MVC? If so, I'm not sure how that would be been possible in 1.x. Routing would create a new collection of route values and stash them on the context."}}
{"actor":{"display_login":"rynowak"}}