{"action":"created","issue":{"url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/496","labels_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/496/comments","events_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/496/events","html_url":"https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/496","id":101524078,"number":496,"title":"Error after #485 ossn.lib.javascripts.php","user":{"login":"ctlui","id":11196998,"avatar_url":"https://avatars.githubusercontent.com/u/11196998?v=3","gravatar_id":"","url":"https://api.github.com/users/ctlui","html_url":"https://github.com/ctlui","followers_url":"https://api.github.com/users/ctlui/followers","following_url":"https://api.github.com/users/ctlui/following{/other_user}","gists_url":"https://api.github.com/users/ctlui/gists{/gist_id}","starred_url":"https://api.github.com/users/ctlui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctlui/subscriptions","organizations_url":"https://api.github.com/users/ctlui/orgs","repos_url":"https://api.github.com/users/ctlui/repos","events_url":"https://api.github.com/users/ctlui/events{/privacy}","received_events_url":"https://api.github.com/users/ctlui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-17T22:33:16Z","updated_at":"2015-08-20T11:06:49Z","closed_at":null,"body":"Last commit 00db169 for ossn.lib.javascripts.php break my ssl site.\r\nGet a blank page with too many redirect and a 301 header.\r\nMy site doesn't use www (https://sub.domain.tld)\r\nhttps://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/3.x/libraries/ossn.lib.javascripts.php#L333\r\n&& $_SERVER['SERVER_PORT'] !== 80 && $_SERVER['SERVER_PORT'] == '443'){\r\nchange to:\r\n&& $_SERVER['SERVER_PORT'] !== ':80' && $_SERVER['SERVER_PORT'] == ':443'){\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/comments/132975151","html_url":"https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/496#issuecomment-132975151","issue_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/496","id":132975151,"user":{"login":"ctlui","id":11196998,"avatar_url":"https://avatars.githubusercontent.com/u/11196998?v=3","gravatar_id":"","url":"https://api.github.com/users/ctlui","html_url":"https://github.com/ctlui","followers_url":"https://api.github.com/users/ctlui/followers","following_url":"https://api.github.com/users/ctlui/following{/other_user}","gists_url":"https://api.github.com/users/ctlui/gists{/gist_id}","starred_url":"https://api.github.com/users/ctlui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctlui/subscriptions","organizations_url":"https://api.github.com/users/ctlui/orgs","repos_url":"https://api.github.com/users/ctlui/repos","events_url":"https://api.github.com/users/ctlui/events{/privacy}","received_events_url":"https://api.github.com/users/ctlui/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T11:06:49Z","updated_at":"2015-08-20T11:06:49Z","body":"Test & confirm ! it works.\r\n\r\n I thought than needed to write it like that because it's write ':80' & ':443' line 325\r\nhttps://github.com/opensource-socialnetwork/opensource-socialnetwork/blob/3.x/libraries/ossn.lib.javascripts.php#L325\r\n\r\nI just look test try & compare as I don't know nothing.\r\n\r\nThanks - Eric"}}