{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/151","repository_url":"https://api.github.com/repos/aspnet/BasicMiddleware","labels_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/151/comments","events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/151/events","html_url":"https://github.com/aspnet/BasicMiddleware/issues/151","id":184400961,"number":151,"title":"URL rewrite should preserve the original requested url","user":{"login":"mikaelm12","id":4809660,"avatar_url":"https://avatars.githubusercontent.com/u/4809660?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelm12","html_url":"https://github.com/mikaelm12","followers_url":"https://api.github.com/users/mikaelm12/followers","following_url":"https://api.github.com/users/mikaelm12/following{/other_user}","gists_url":"https://api.github.com/users/mikaelm12/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelm12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelm12/subscriptions","organizations_url":"https://api.github.com/users/mikaelm12/orgs","repos_url":"https://api.github.com/users/mikaelm12/repos","events_url":"https://api.github.com/users/mikaelm12/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelm12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-21T05:16:12Z","updated_at":"2016-10-21T22:17:46Z","closed_at":null,"body":"From the URL rewrite reference\r\n\r\n> The URL Rewrite Module preserves the original requested URL path in the following server variables:\r\n- HTTP_X_ORIGINAL_URL – this server variable contains the original URL in decoded format;\r\n- UNENCODED_URL – this server variable contains the original URL exactly as it was requested by a Web client, with all original encoding preserved.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/comments/255478595","html_url":"https://github.com/aspnet/BasicMiddleware/issues/151#issuecomment-255478595","issue_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/151","id":255478595,"user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T22:17:46Z","updated_at":"2016-10-21T22:17:46Z","body":"Doc link?\r\n\r\nWe already have the original url (RawTarget) here: https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http.Features/IHttpRequestFeature.cs#L60\r\n\r\nThey only need to be exposed as server variables if another rule in Rewrite tries to access them.\r\n"}}
{"actor":{"display_login":"Tratcher"}}