{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/3208","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/3208/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/3208/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/3208/events","html_url":"https://github.com/aspnet/Mvc/issues/3208","id":108417863,"number":3208,"title":"UrlHelper.GenerateLink needs to throw a ArgNull exception if the url parameter is null.","user":{"login":"pranavkm","id":174281,"avatar_url":"https://avatars.githubusercontent.com/u/174281?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-25T22:29:22Z","updated_at":"2015-09-25T22:29:22Z","closed_at":null,"body":"Based on discussion here: https://github.com/aspnet/Mvc/pull/3206/files#r40468216\r\n\r\nThis requires code change in AnchorTagHelper to not call into IHtmlGenerator.GenerateLink with a null url. We have functional tests today (such as the test that renders https://github.com/aspnet/Mvc/blob/dev/test/WebSites/HtmlGenerationWebSite/Views/HtmlGeneration_Home/Index.cshtml#L10) where we expect `IHtmlGenerator.GenerateLink` to succeed if the url is null. "}}