{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2875","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2875/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2875/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2875/events","html_url":"https://github.com/aspnet/Mvc/pull/2875","id":97822065,"number":2875,"title":"Added default `UrlResolutionTagHelper` to resolve app relative URLs.","user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-28T23:20:54Z","updated_at":"2015-08-03T21:58:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/Mvc/pulls/2875","html_url":"https://github.com/aspnet/Mvc/pull/2875","diff_url":"https://github.com/aspnet/Mvc/pull/2875.diff","patch_url":"https://github.com/aspnet/Mvc/pull/2875.patch"},"body":"- Razor removed the ability to automatically resolve URLs prefixed with `~/`; therefore `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` have changed to take in `IUrlHelper`s and auto-resolve their URL based properties if they start with `~/`.\r\n- Added a catch-all `~/` resolver for non `TagHelper` based HTML elements. Razor used to resolve any attribute value that started with `~/` now the behavior is restricted to attributes that can contain URLs.\r\n- Updated `IUrlHelper` to accept `null` values.\r\n- Added functional tests to validate that URLs resolve correctly.\r\n- Updated `TagHelper` tests to ensure that URLs are resolved via an `IUrlHelper`.\r\n\r\n#2807\r\n\r\nRazor PR to remove existing app-relative URL resolution: https://github.com/aspnet/Razor/pull/466"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/127417270","html_url":"https://github.com/aspnet/Mvc/pull/2875#issuecomment-127417270","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2875","id":127417270,"user":{"login":"NTaylorMullen","id":2008729,"avatar_url":"https://avatars.githubusercontent.com/u/2008729?v=3","gravatar_id":"","url":"https://api.github.com/users/NTaylorMullen","html_url":"https://github.com/NTaylorMullen","followers_url":"https://api.github.com/users/NTaylorMullen/followers","following_url":"https://api.github.com/users/NTaylorMullen/following{/other_user}","gists_url":"https://api.github.com/users/NTaylorMullen/gists{/gist_id}","starred_url":"https://api.github.com/users/NTaylorMullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NTaylorMullen/subscriptions","organizations_url":"https://api.github.com/users/NTaylorMullen/orgs","repos_url":"https://api.github.com/users/NTaylorMullen/repos","events_url":"https://api.github.com/users/NTaylorMullen/events{/privacy}","received_events_url":"https://api.github.com/users/NTaylorMullen/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T21:58:22Z","updated_at":"2015-08-03T21:58:22Z","body":"Updated."}}