{"action":"closed","issue":{"url":"https://api.github.com/repos/nozbzh/urlshortener/issues/7","repository_url":"https://api.github.com/repos/nozbzh/urlshortener","labels_url":"https://api.github.com/repos/nozbzh/urlshortener/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/nozbzh/urlshortener/issues/7/comments","events_url":"https://api.github.com/repos/nozbzh/urlshortener/issues/7/events","html_url":"https://github.com/nozbzh/urlshortener/issues/7","id":148120789,"number":7,"title":"There is now a sanitized_url attribute. Is it worth keeping it?","user":{"login":"nozbzh","id":10394006,"avatar_url":"https://avatars.githubusercontent.com/u/10394006?v=3","gravatar_id":"","url":"https://api.github.com/users/nozbzh","html_url":"https://github.com/nozbzh","followers_url":"https://api.github.com/users/nozbzh/followers","following_url":"https://api.github.com/users/nozbzh/following{/other_user}","gists_url":"https://api.github.com/users/nozbzh/gists{/gist_id}","starred_url":"https://api.github.com/users/nozbzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozbzh/subscriptions","organizations_url":"https://api.github.com/users/nozbzh/orgs","repos_url":"https://api.github.com/users/nozbzh/repos","events_url":"https://api.github.com/users/nozbzh/events{/privacy}","received_events_url":"https://api.github.com/users/nozbzh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-13T16:54:58Z","updated_at":"2016-04-15T20:39:14Z","closed_at":"2016-04-15T20:39:14Z","body":"I created it in an attempt to preserve the original url entered by the user exactly as it was entered in order to display it on the page alongside the shortened version.\r\n\r\nProblem: when URL is already in the database.\r\n\r\nExample:\r\nuser_1 enters \"google.com\"\r\nuser_2 enters \"www.google.com\"\r\n\r\nuser_1 will see \"original url = google.com\"\r\nAND\r\nuser_2 will also see \"original url = google.com\""}}