{"action":"created","issue":{"url":"https://api.github.com/repos/Vadman97/Vadweb/issues/25","labels_url":"https://api.github.com/repos/Vadman97/Vadweb/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Vadman97/Vadweb/issues/25/comments","events_url":"https://api.github.com/repos/Vadman97/Vadweb/issues/25/events","html_url":"https://github.com/Vadman97/Vadweb/issues/25","id":70791495,"number":25,"title":"Login redirect broken","user":{"login":"Vadman97","id":1351531,"avatar_url":"https://avatars.githubusercontent.com/u/1351531?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadman97","html_url":"https://github.com/Vadman97","followers_url":"https://api.github.com/users/Vadman97/followers","following_url":"https://api.github.com/users/Vadman97/following{/other_user}","gists_url":"https://api.github.com/users/Vadman97/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadman97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadman97/subscriptions","organizations_url":"https://api.github.com/users/Vadman97/orgs","repos_url":"https://api.github.com/users/Vadman97/repos","events_url":"https://api.github.com/users/Vadman97/events{/privacy}","received_events_url":"https://api.github.com/users/Vadman97/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Vadman97/Vadweb/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Vadman97/Vadweb/milestones/1","html_url":"https://github.com/Vadman97/Vadweb/milestones/Vadweb%202.1","labels_url":"https://api.github.com/repos/Vadman97/Vadweb/milestones/1/labels","id":1081527,"number":1,"title":"Vadweb 2.1","description":"All of the features in place?","creator":{"login":"Vadman97","id":1351531,"avatar_url":"https://avatars.githubusercontent.com/u/1351531?v=3","gravatar_id":"","url":"https://api.github.com/users/Vadman97","html_url":"https://github.com/Vadman97","followers_url":"https://api.github.com/users/Vadman97/followers","following_url":"https://api.github.com/users/Vadman97/following{/other_user}","gists_url":"https://api.github.com/users/Vadman97/gists{/gist_id}","starred_url":"https://api.github.com/users/Vadman97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vadman97/subscriptions","organizations_url":"https://api.github.com/users/Vadman97/orgs","repos_url":"https://api.github.com/users/Vadman97/repos","events_url":"https://api.github.com/users/Vadman97/events{/privacy}","received_events_url":"https://api.github.com/users/Vadman97/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":0,"state":"open","created_at":"2015-04-24T01:45:59Z","updated_at":"2015-04-24T20:51:43Z","due_on":"2015-05-25T07:00:00Z","closed_at":null},"comments":1,"created_at":"2015-04-24T20:51:43Z","updated_at":"2015-04-24T21:24:40Z","closed_at":null,"body":"If logging in from not the home page of from files page, redirects to not-existing url"},"comment":{"url":"https://api.github.com/repos/Vadman97/Vadweb/issues/comments/96069184","html_url":"https://github.com/Vadman97/Vadweb/issues/25#issuecomment-96069184","issue_url":"https://api.github.com/repos/Vadman97/Vadweb/issues/25","id":96069184,"user":{"login":"andars","id":4284488,"avatar_url":"https://avatars.githubusercontent.com/u/4284488?v=3","gravatar_id":"","url":"https://api.github.com/users/andars","html_url":"https://github.com/andars","followers_url":"https://api.github.com/users/andars/followers","following_url":"https://api.github.com/users/andars/following{/other_user}","gists_url":"https://api.github.com/users/andars/gists{/gist_id}","starred_url":"https://api.github.com/users/andars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andars/subscriptions","organizations_url":"https://api.github.com/users/andars/orgs","repos_url":"https://api.github.com/users/andars/repos","events_url":"https://api.github.com/users/andars/events{/privacy}","received_events_url":"https://api.github.com/users/andars/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T21:24:40Z","updated_at":"2015-04-24T21:24:40Z","body":"So maybe follow redirLoc if coming from `index.php`, otherwise just go back to referer"}}