{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/417","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/417/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/417/events","html_url":"https://github.com/aspnet/Razor/issues/417","id":84666016,"number":417,"title":"TagHelper removing ~ from HtmlAttribute","user":{"login":"danroth27","id":1874516,"avatar_url":"https://avatars.githubusercontent.com/u/1874516?v=3","gravatar_id":"","url":"https://api.github.com/users/danroth27","html_url":"https://github.com/danroth27","followers_url":"https://api.github.com/users/danroth27/followers","following_url":"https://api.github.com/users/danroth27/following{/other_user}","gists_url":"https://api.github.com/users/danroth27/gists{/gist_id}","starred_url":"https://api.github.com/users/danroth27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danroth27/subscriptions","organizations_url":"https://api.github.com/users/danroth27/orgs","repos_url":"https://api.github.com/users/danroth27/repos","events_url":"https://api.github.com/users/danroth27/events{/privacy}","received_events_url":"https://api.github.com/users/danroth27/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-03T17:04:24Z","updated_at":"2015-06-03T18:27:42Z","closed_at":null,"body":"Reported by @grahamehorner as https://github.com/aspnet/Mvc/issues/2631.\r\n\r\nWhen HtmlAttribureString a string starts with '~' this is stripped from the value populated into the TagHelper class property.  eg. \"~/folder/file.txt\" becomes \"/folder/file.txt\"\r\n\r\nFrom @NTaylorMullen:\r\n\r\nGood find, it even looks like we rely on this behavior a little bit in our own `TagHelper` samples which I believe is wrong. "},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/108561988","html_url":"https://github.com/aspnet/Razor/issues/417#issuecomment-108561988","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/417","id":108561988,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T18:27:42Z","updated_at":"2015-06-03T18:27:42Z","body":"Doesn't the `~` removal exist for back-compat reasons?  @pranavkm ?"}}