{"action":"created","comment":{"url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/comments/23693187","id":23693187,"diff_hunk":"@@ -130,6 +129,31 @@ public function init_form_fields() {\n \t\t\t\t),\n \t\t\t);\n \t\t}\n-\t}\n \n+\t\t/**\n+\t\t * Check if the fields URL Webservs is HTTPS\n+\t\t *\n+\t\t * @return void\n+\t\t */\n+\t\tpublic function validate_url_webservs() {\n+\t\t\t$value = $_POST['woocommerce_doliwoo-settings_webservs_url'];\n+\t\t\tif((substr($value,0,8)) !== \"https://\" ){","path":"includes/settings.php","position":30,"original_position":30,"commit_id":"7867fe2d26f26969e20afd978304e8d8f0a5d84d","original_commit_id":"7867fe2d26f26969e20afd978304e8d8f0a5d84d","user":{"login":"rdoursenaud","id":1210367,"avatar_url":"https://avatars.githubusercontent.com/u/1210367?v=3","gravatar_id":"","url":"https://api.github.com/users/rdoursenaud","html_url":"https://github.com/rdoursenaud","followers_url":"https://api.github.com/users/rdoursenaud/followers","following_url":"https://api.github.com/users/rdoursenaud/following{/other_user}","gists_url":"https://api.github.com/users/rdoursenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/rdoursenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdoursenaud/subscriptions","organizations_url":"https://api.github.com/users/rdoursenaud/orgs","repos_url":"https://api.github.com/users/rdoursenaud/repos","events_url":"https://api.github.com/users/rdoursenaud/events{/privacy}","received_events_url":"https://api.github.com/users/rdoursenaud/received_events","type":"User","site_admin":false},"body":"Yoda it ;)","created_at":"2015-01-28T15:16:15Z","updated_at":"2015-01-28T15:16:15Z","html_url":"https://github.com/GPCsolutions/doliwoo/pull/38#discussion_r23693187","pull_request_url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/comments/23693187"},"html":{"href":"https://github.com/GPCsolutions/doliwoo/pull/38#discussion_r23693187"},"pull_request":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38","id":28198580,"html_url":"https://github.com/GPCsolutions/doliwoo/pull/38","diff_url":"https://github.com/GPCsolutions/doliwoo/pull/38.diff","patch_url":"https://github.com/GPCsolutions/doliwoo/pull/38.patch","issue_url":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/38","number":38,"state":"open","locked":false,"title":"Https","user":{"login":"maxoumic","id":10398140,"avatar_url":"https://avatars.githubusercontent.com/u/10398140?v=3","gravatar_id":"","url":"https://api.github.com/users/maxoumic","html_url":"https://github.com/maxoumic","followers_url":"https://api.github.com/users/maxoumic/followers","following_url":"https://api.github.com/users/maxoumic/following{/other_user}","gists_url":"https://api.github.com/users/maxoumic/gists{/gist_id}","starred_url":"https://api.github.com/users/maxoumic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxoumic/subscriptions","organizations_url":"https://api.github.com/users/maxoumic/orgs","repos_url":"https://api.github.com/users/maxoumic/repos","events_url":"https://api.github.com/users/maxoumic/events{/privacy}","received_events_url":"https://api.github.com/users/maxoumic/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-28T14:47:35Z","updated_at":"2015-01-28T15:16:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e44c0fd3dc6cdd09feaf7eb0c7c7b2463df72d02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38/commits","review_comments_url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38/comments","review_comment_url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/38/comments","statuses_url":"https://api.github.com/repos/GPCsolutions/doliwoo/statuses/7867fe2d26f26969e20afd978304e8d8f0a5d84d","head":{"label":"maxoumic:HTTPS","ref":"HTTPS","sha":"7867fe2d26f26969e20afd978304e8d8f0a5d84d","user":{"login":"maxoumic","id":10398140,"avatar_url":"https://avatars.githubusercontent.com/u/10398140?v=3","gravatar_id":"","url":"https://api.github.com/users/maxoumic","html_url":"https://github.com/maxoumic","followers_url":"https://api.github.com/users/maxoumic/followers","following_url":"https://api.github.com/users/maxoumic/following{/other_user}","gists_url":"https://api.github.com/users/maxoumic/gists{/gist_id}","starred_url":"https://api.github.com/users/maxoumic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxoumic/subscriptions","organizations_url":"https://api.github.com/users/maxoumic/orgs","repos_url":"https://api.github.com/users/maxoumic/repos","events_url":"https://api.github.com/users/maxoumic/events{/privacy}","received_events_url":"https://api.github.com/users/maxoumic/received_events","type":"User","site_admin":false},"repo":{"id":28804226,"name":"doliwoo","full_name":"maxoumic/doliwoo","owner":{"login":"maxoumic","id":10398140,"avatar_url":"https://avatars.githubusercontent.com/u/10398140?v=3","gravatar_id":"","url":"https://api.github.com/users/maxoumic","html_url":"https://github.com/maxoumic","followers_url":"https://api.github.com/users/maxoumic/followers","following_url":"https://api.github.com/users/maxoumic/following{/other_user}","gists_url":"https://api.github.com/users/maxoumic/gists{/gist_id}","starred_url":"https://api.github.com/users/maxoumic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxoumic/subscriptions","organizations_url":"https://api.github.com/users/maxoumic/orgs","repos_url":"https://api.github.com/users/maxoumic/repos","events_url":"https://api.github.com/users/maxoumic/events{/privacy}","received_events_url":"https://api.github.com/users/maxoumic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxoumic/doliwoo","description":"Interface between WooCommerce and Dolibarr","fork":true,"url":"https://api.github.com/repos/maxoumic/doliwoo","forks_url":"https://api.github.com/repos/maxoumic/doliwoo/forks","keys_url":"https://api.github.com/repos/maxoumic/doliwoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxoumic/doliwoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxoumic/doliwoo/teams","hooks_url":"https://api.github.com/repos/maxoumic/doliwoo/hooks","issue_events_url":"https://api.github.com/repos/maxoumic/doliwoo/issues/events{/number}","events_url":"https://api.github.com/repos/maxoumic/doliwoo/events","assignees_url":"https://api.github.com/repos/maxoumic/doliwoo/assignees{/user}","branches_url":"https://api.github.com/repos/maxoumic/doliwoo/branches{/branch}","tags_url":"https://api.github.com/repos/maxoumic/doliwoo/tags","blobs_url":"https://api.github.com/repos/maxoumic/doliwoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxoumic/doliwoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxoumic/doliwoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxoumic/doliwoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxoumic/doliwoo/statuses/{sha}","languages_url":"https://api.github.com/repos/maxoumic/doliwoo/languages","stargazers_url":"https://api.github.com/repos/maxoumic/doliwoo/stargazers","contributors_url":"https://api.github.com/repos/maxoumic/doliwoo/contributors","subscribers_url":"https://api.github.com/repos/maxoumic/doliwoo/subscribers","subscription_url":"https://api.github.com/repos/maxoumic/doliwoo/subscription","commits_url":"https://api.github.com/repos/maxoumic/doliwoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxoumic/doliwoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxoumic/doliwoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxoumic/doliwoo/issues/comments/{number}","contents_url":"https://api.github.com/repos/maxoumic/doliwoo/contents/{+path}","compare_url":"https://api.github.com/repos/maxoumic/doliwoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxoumic/doliwoo/merges","archive_url":"https://api.github.com/repos/maxoumic/doliwoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxoumic/doliwoo/downloads","issues_url":"https://api.github.com/repos/maxoumic/doliwoo/issues{/number}","pulls_url":"https://api.github.com/repos/maxoumic/doliwoo/pulls{/number}","milestones_url":"https://api.github.com/repos/maxoumic/doliwoo/milestones{/number}","notifications_url":"https://api.github.com/repos/maxoumic/doliwoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxoumic/doliwoo/labels{/name}","releases_url":"https://api.github.com/repos/maxoumic/doliwoo/releases{/id}","created_at":"2015-01-05T08:37:31Z","updated_at":"2015-01-26T13:13:20Z","pushed_at":"2015-01-28T15:13:52Z","git_url":"git://github.com/maxoumic/doliwoo.git","ssh_url":"git@github.com:maxoumic/doliwoo.git","clone_url":"https://github.com/maxoumic/doliwoo.git","svn_url":"https://github.com/maxoumic/doliwoo","homepage":null,"size":533,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"GPCsolutions:develop","ref":"develop","sha":"e0d22142e9791ddce48c7c5689294bbcd131de56","user":{"login":"GPCsolutions","id":1648408,"avatar_url":"https://avatars.githubusercontent.com/u/1648408?v=3","gravatar_id":"","url":"https://api.github.com/users/GPCsolutions","html_url":"https://github.com/GPCsolutions","followers_url":"https://api.github.com/users/GPCsolutions/followers","following_url":"https://api.github.com/users/GPCsolutions/following{/other_user}","gists_url":"https://api.github.com/users/GPCsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/GPCsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPCsolutions/subscriptions","organizations_url":"https://api.github.com/users/GPCsolutions/orgs","repos_url":"https://api.github.com/users/GPCsolutions/repos","events_url":"https://api.github.com/users/GPCsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/GPCsolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":15674854,"name":"doliwoo","full_name":"GPCsolutions/doliwoo","owner":{"login":"GPCsolutions","id":1648408,"avatar_url":"https://avatars.githubusercontent.com/u/1648408?v=3","gravatar_id":"","url":"https://api.github.com/users/GPCsolutions","html_url":"https://github.com/GPCsolutions","followers_url":"https://api.github.com/users/GPCsolutions/followers","following_url":"https://api.github.com/users/GPCsolutions/following{/other_user}","gists_url":"https://api.github.com/users/GPCsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/GPCsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GPCsolutions/subscriptions","organizations_url":"https://api.github.com/users/GPCsolutions/orgs","repos_url":"https://api.github.com/users/GPCsolutions/repos","events_url":"https://api.github.com/users/GPCsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/GPCsolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GPCsolutions/doliwoo","description":"Dolibarr WooCommerce integration","fork":false,"url":"https://api.github.com/repos/GPCsolutions/doliwoo","forks_url":"https://api.github.com/repos/GPCsolutions/doliwoo/forks","keys_url":"https://api.github.com/repos/GPCsolutions/doliwoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GPCsolutions/doliwoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GPCsolutions/doliwoo/teams","hooks_url":"https://api.github.com/repos/GPCsolutions/doliwoo/hooks","issue_events_url":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/events{/number}","events_url":"https://api.github.com/repos/GPCsolutions/doliwoo/events","assignees_url":"https://api.github.com/repos/GPCsolutions/doliwoo/assignees{/user}","branches_url":"https://api.github.com/repos/GPCsolutions/doliwoo/branches{/branch}","tags_url":"https://api.github.com/repos/GPCsolutions/doliwoo/tags","blobs_url":"https://api.github.com/repos/GPCsolutions/doliwoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GPCsolutions/doliwoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GPCsolutions/doliwoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/GPCsolutions/doliwoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GPCsolutions/doliwoo/statuses/{sha}","languages_url":"https://api.github.com/repos/GPCsolutions/doliwoo/languages","stargazers_url":"https://api.github.com/repos/GPCsolutions/doliwoo/stargazers","contributors_url":"https://api.github.com/repos/GPCsolutions/doliwoo/contributors","subscribers_url":"https://api.github.com/repos/GPCsolutions/doliwoo/subscribers","subscription_url":"https://api.github.com/repos/GPCsolutions/doliwoo/subscription","commits_url":"https://api.github.com/repos/GPCsolutions/doliwoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/GPCsolutions/doliwoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/GPCsolutions/doliwoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/comments/{number}","contents_url":"https://api.github.com/repos/GPCsolutions/doliwoo/contents/{+path}","compare_url":"https://api.github.com/repos/GPCsolutions/doliwoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GPCsolutions/doliwoo/merges","archive_url":"https://api.github.com/repos/GPCsolutions/doliwoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GPCsolutions/doliwoo/downloads","issues_url":"https://api.github.com/repos/GPCsolutions/doliwoo/issues{/number}","pulls_url":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls{/number}","milestones_url":"https://api.github.com/repos/GPCsolutions/doliwoo/milestones{/number}","notifications_url":"https://api.github.com/repos/GPCsolutions/doliwoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GPCsolutions/doliwoo/labels{/name}","releases_url":"https://api.github.com/repos/GPCsolutions/doliwoo/releases{/id}","created_at":"2014-01-06T13:39:12Z","updated_at":"2015-01-28T13:08:38Z","pushed_at":"2015-01-28T13:08:38Z","git_url":"git://github.com/GPCsolutions/doliwoo.git","ssh_url":"git@github.com:GPCsolutions/doliwoo.git","clone_url":"https://github.com/GPCsolutions/doliwoo.git","svn_url":"https://github.com/GPCsolutions/doliwoo","homepage":"https://gpcsolutions.fr","size":1056,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":13,"forks":11,"open_issues":13,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38"},"html":{"href":"https://github.com/GPCsolutions/doliwoo/pull/38"},"issue":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/38"},"comments":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/GPCsolutions/doliwoo/statuses/7867fe2d26f26969e20afd978304e8d8f0a5d84d"}}}}