{"action":"created","issue":{"url":"https://api.github.com/repos/aces/Loris/issues/1169","labels_url":"https://api.github.com/repos/aces/Loris/issues/1169/labels{/name}","comments_url":"https://api.github.com/repos/aces/Loris/issues/1169/comments","events_url":"https://api.github.com/repos/aces/Loris/issues/1169/events","html_url":"https://github.com/aces/Loris/pull/1169","id":91907578,"number":1169,"title":"URL redirection correction","user":{"login":"xlecours","id":12155214,"avatar_url":"https://avatars.githubusercontent.com/u/12155214?v=3","gravatar_id":"","url":"https://api.github.com/users/xlecours","html_url":"https://github.com/xlecours","followers_url":"https://api.github.com/users/xlecours/followers","following_url":"https://api.github.com/users/xlecours/following{/other_user}","gists_url":"https://api.github.com/users/xlecours/gists{/gist_id}","starred_url":"https://api.github.com/users/xlecours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlecours/subscriptions","organizations_url":"https://api.github.com/users/xlecours/orgs","repos_url":"https://api.github.com/users/xlecours/repos","events_url":"https://api.github.com/users/xlecours/events{/privacy}","received_events_url":"https://api.github.com/users/xlecours/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aces/Loris/labels/NewFeature","name":"NewFeature","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aces/Loris/milestones/4","html_url":"https://github.com/aces/Loris/milestones/15.10","labels_url":"https://api.github.com/repos/aces/Loris/milestones/4/labels","id":1050783,"number":4,"title":"15.10","description":"The October Release of Loris.","creator":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":14,"state":"open","created_at":"2015-04-02T18:31:49Z","updated_at":"2015-07-02T15:12:51Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-29T20:52:26Z","updated_at":"2015-07-07T14:10:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/1169","html_url":"https://github.com/aces/Loris/pull/1169","diff_url":"https://github.com/aces/Loris/pull/1169.diff","patch_url":"https://github.com/aces/Loris/pull/1169.patch"},"body":"Upon successful login, the NDB_Caller class build an url based on configs and php variables. When the site is hosted on hostname/something/main.php, the \"something\" is included in the url config and in the $_SERVER['REQUEST_URI'] variable.\r\n\r\nNow using host instead of url from configs to avoid duplication in the url."},"comment":{"url":"https://api.github.com/repos/aces/Loris/issues/comments/119215294","html_url":"https://github.com/aces/Loris/pull/1169#issuecomment-119215294","issue_url":"https://api.github.com/repos/aces/Loris/issues/1169","id":119215294,"user":{"login":"driusan","id":498329,"avatar_url":"https://avatars.githubusercontent.com/u/498329?v=3","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T14:10:13Z","updated_at":"2015-07-07T14:10:13Z","body":"I don't see the point of this. The URL config variable should already have the /something/ in it if your Loris is properly configured, and this seems more complex and likely for something to go wrong."}}