{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1","id":31659204,"html_url":"https://github.com/mospaeda/pi-hole/pull/1","diff_url":"https://github.com/mospaeda/pi-hole/pull/1.diff","patch_url":"https://github.com/mospaeda/pi-hole/pull/1.patch","issue_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/1","number":1,"state":"open","locked":false,"title":"Automatic IP detection with all locale","user":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"body":"initial code does not work if locale is set to french \r\nmay be also the case with other non english locale (not tested)\r\n\r\nMay be LANG saving and setting again is too much and may cause some trouble if other settings were not all same language .\r\n\r\npi@raspberrypi ~ $ locale\r\nLANG=fr_FR.utf8\r\nLANGUAGE=\r\nLC_CTYPE=\"fr_FR.utf8\"\r\nLC_NUMERIC=\"fr_FR.utf8\"\r\nLC_TIME=\"fr_FR.utf8\"\r\nLC_COLLATE=\"fr_FR.utf8\"\r\nLC_MONETARY=\"fr_FR.utf8\"\r\nLC_MESSAGES=\"fr_FR.utf8\"\r\nLC_PAPER=\"fr_FR.utf8\"\r\nLC_NAME=\"fr_FR.utf8\"\r\nLC_ADDRESS=\"fr_FR.utf8\"\r\nLC_TELEPHONE=\"fr_FR.utf8\"\r\nLC_MEASUREMENT=\"fr_FR.utf8\"\r\nLC_IDENTIFICATION=\"fr_FR.utf8\"\r\nLC_ALL=\r\n","created_at":"2015-03-20T23:06:48Z","updated_at":"2015-03-20T23:06:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mospaeda/pi-hole/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/1/comments","statuses_url":"https://api.github.com/repos/mospaeda/pi-hole/statuses/d586ba312611daa440d1f663d123e708716682a9","head":{"label":"mospaeda:mospaeda-patch-1","ref":"mospaeda-patch-1","sha":"d586ba312611daa440d1f663d123e708716682a9","user":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"repo":{"id":32546293,"name":"pi-hole","full_name":"mospaeda/pi-hole","owner":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mospaeda/pi-hole","description":"Raspberry Pi Ad Blocker","fork":true,"url":"https://api.github.com/repos/mospaeda/pi-hole","forks_url":"https://api.github.com/repos/mospaeda/pi-hole/forks","keys_url":"https://api.github.com/repos/mospaeda/pi-hole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mospaeda/pi-hole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mospaeda/pi-hole/teams","hooks_url":"https://api.github.com/repos/mospaeda/pi-hole/hooks","issue_events_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/events{/number}","events_url":"https://api.github.com/repos/mospaeda/pi-hole/events","assignees_url":"https://api.github.com/repos/mospaeda/pi-hole/assignees{/user}","branches_url":"https://api.github.com/repos/mospaeda/pi-hole/branches{/branch}","tags_url":"https://api.github.com/repos/mospaeda/pi-hole/tags","blobs_url":"https://api.github.com/repos/mospaeda/pi-hole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mospaeda/pi-hole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mospaeda/pi-hole/git/refs{/sha}","trees_url":"https://api.github.com/repos/mospaeda/pi-hole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mospaeda/pi-hole/statuses/{sha}","languages_url":"https://api.github.com/repos/mospaeda/pi-hole/languages","stargazers_url":"https://api.github.com/repos/mospaeda/pi-hole/stargazers","contributors_url":"https://api.github.com/repos/mospaeda/pi-hole/contributors","subscribers_url":"https://api.github.com/repos/mospaeda/pi-hole/subscribers","subscription_url":"https://api.github.com/repos/mospaeda/pi-hole/subscription","commits_url":"https://api.github.com/repos/mospaeda/pi-hole/commits{/sha}","git_commits_url":"https://api.github.com/repos/mospaeda/pi-hole/git/commits{/sha}","comments_url":"https://api.github.com/repos/mospaeda/pi-hole/comments{/number}","issue_comment_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/comments{/number}","contents_url":"https://api.github.com/repos/mospaeda/pi-hole/contents/{+path}","compare_url":"https://api.github.com/repos/mospaeda/pi-hole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mospaeda/pi-hole/merges","archive_url":"https://api.github.com/repos/mospaeda/pi-hole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mospaeda/pi-hole/downloads","issues_url":"https://api.github.com/repos/mospaeda/pi-hole/issues{/number}","pulls_url":"https://api.github.com/repos/mospaeda/pi-hole/pulls{/number}","milestones_url":"https://api.github.com/repos/mospaeda/pi-hole/milestones{/number}","notifications_url":"https://api.github.com/repos/mospaeda/pi-hole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mospaeda/pi-hole/labels{/name}","releases_url":"https://api.github.com/repos/mospaeda/pi-hole/releases{/id}","created_at":"2015-03-19T21:08:55Z","updated_at":"2015-03-20T22:37:05Z","pushed_at":"2015-03-20T23:06:48Z","git_url":"git://github.com/mospaeda/pi-hole.git","ssh_url":"git@github.com:mospaeda/pi-hole.git","clone_url":"https://github.com/mospaeda/pi-hole.git","svn_url":"https://github.com/mospaeda/pi-hole","homepage":"http://jacobsalmela.com/blocking-ads-from-120000-domains/","size":701,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mospaeda:master","ref":"master","sha":"7809ee386edeaca7976ca6f57684ac33426166e6","user":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"repo":{"id":32546293,"name":"pi-hole","full_name":"mospaeda/pi-hole","owner":{"login":"mospaeda","id":11562410,"avatar_url":"https://avatars.githubusercontent.com/u/11562410?v=3","gravatar_id":"","url":"https://api.github.com/users/mospaeda","html_url":"https://github.com/mospaeda","followers_url":"https://api.github.com/users/mospaeda/followers","following_url":"https://api.github.com/users/mospaeda/following{/other_user}","gists_url":"https://api.github.com/users/mospaeda/gists{/gist_id}","starred_url":"https://api.github.com/users/mospaeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mospaeda/subscriptions","organizations_url":"https://api.github.com/users/mospaeda/orgs","repos_url":"https://api.github.com/users/mospaeda/repos","events_url":"https://api.github.com/users/mospaeda/events{/privacy}","received_events_url":"https://api.github.com/users/mospaeda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mospaeda/pi-hole","description":"Raspberry Pi Ad Blocker","fork":true,"url":"https://api.github.com/repos/mospaeda/pi-hole","forks_url":"https://api.github.com/repos/mospaeda/pi-hole/forks","keys_url":"https://api.github.com/repos/mospaeda/pi-hole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mospaeda/pi-hole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mospaeda/pi-hole/teams","hooks_url":"https://api.github.com/repos/mospaeda/pi-hole/hooks","issue_events_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/events{/number}","events_url":"https://api.github.com/repos/mospaeda/pi-hole/events","assignees_url":"https://api.github.com/repos/mospaeda/pi-hole/assignees{/user}","branches_url":"https://api.github.com/repos/mospaeda/pi-hole/branches{/branch}","tags_url":"https://api.github.com/repos/mospaeda/pi-hole/tags","blobs_url":"https://api.github.com/repos/mospaeda/pi-hole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mospaeda/pi-hole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mospaeda/pi-hole/git/refs{/sha}","trees_url":"https://api.github.com/repos/mospaeda/pi-hole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mospaeda/pi-hole/statuses/{sha}","languages_url":"https://api.github.com/repos/mospaeda/pi-hole/languages","stargazers_url":"https://api.github.com/repos/mospaeda/pi-hole/stargazers","contributors_url":"https://api.github.com/repos/mospaeda/pi-hole/contributors","subscribers_url":"https://api.github.com/repos/mospaeda/pi-hole/subscribers","subscription_url":"https://api.github.com/repos/mospaeda/pi-hole/subscription","commits_url":"https://api.github.com/repos/mospaeda/pi-hole/commits{/sha}","git_commits_url":"https://api.github.com/repos/mospaeda/pi-hole/git/commits{/sha}","comments_url":"https://api.github.com/repos/mospaeda/pi-hole/comments{/number}","issue_comment_url":"https://api.github.com/repos/mospaeda/pi-hole/issues/comments{/number}","contents_url":"https://api.github.com/repos/mospaeda/pi-hole/contents/{+path}","compare_url":"https://api.github.com/repos/mospaeda/pi-hole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mospaeda/pi-hole/merges","archive_url":"https://api.github.com/repos/mospaeda/pi-hole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mospaeda/pi-hole/downloads","issues_url":"https://api.github.com/repos/mospaeda/pi-hole/issues{/number}","pulls_url":"https://api.github.com/repos/mospaeda/pi-hole/pulls{/number}","milestones_url":"https://api.github.com/repos/mospaeda/pi-hole/milestones{/number}","notifications_url":"https://api.github.com/repos/mospaeda/pi-hole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mospaeda/pi-hole/labels{/name}","releases_url":"https://api.github.com/repos/mospaeda/pi-hole/releases{/id}","created_at":"2015-03-19T21:08:55Z","updated_at":"2015-03-20T22:37:05Z","pushed_at":"2015-03-20T23:06:48Z","git_url":"git://github.com/mospaeda/pi-hole.git","ssh_url":"git@github.com:mospaeda/pi-hole.git","clone_url":"https://github.com/mospaeda/pi-hole.git","svn_url":"https://github.com/mospaeda/pi-hole","homepage":"http://jacobsalmela.com/blocking-ads-from-120000-domains/","size":701,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1"},"html":{"href":"https://github.com/mospaeda/pi-hole/pull/1"},"issue":{"href":"https://api.github.com/repos/mospaeda/pi-hole/issues/1"},"comments":{"href":"https://api.github.com/repos/mospaeda/pi-hole/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mospaeda/pi-hole/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mospaeda/pi-hole/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mospaeda/pi-hole/statuses/d586ba312611daa440d1f663d123e708716682a9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}