{"action":"created","issue":{"url":"https://api.github.com/repos/pi-hole/pi-hole/issues/565","repository_url":"https://api.github.com/repos/pi-hole/pi-hole","labels_url":"https://api.github.com/repos/pi-hole/pi-hole/issues/565/labels{/name}","comments_url":"https://api.github.com/repos/pi-hole/pi-hole/issues/565/comments","events_url":"https://api.github.com/repos/pi-hole/pi-hole/issues/565/events","html_url":"https://github.com/pi-hole/pi-hole/issues/565","id":164805440,"number":565,"title":"Whitelist fails CORS when not browsing using IP address","user":{"login":"JunaidZA","id":16782593,"avatar_url":"https://avatars.githubusercontent.com/u/16782593?v=3","gravatar_id":"","url":"https://api.github.com/users/JunaidZA","html_url":"https://github.com/JunaidZA","followers_url":"https://api.github.com/users/JunaidZA/followers","following_url":"https://api.github.com/users/JunaidZA/following{/other_user}","gists_url":"https://api.github.com/users/JunaidZA/gists{/gist_id}","starred_url":"https://api.github.com/users/JunaidZA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunaidZA/subscriptions","organizations_url":"https://api.github.com/users/JunaidZA/orgs","repos_url":"https://api.github.com/users/JunaidZA/repos","events_url":"https://api.github.com/users/JunaidZA/events{/privacy}","received_events_url":"https://api.github.com/users/JunaidZA/received_events","type":"User","site_admin":false},"labels":[{"id":105416349,"url":"https://api.github.com/repos/pi-hole/pi-hole/labels/Confirmed%20Bug","name":"Confirmed Bug","color":"EB4D5C","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-07-11T10:23:39Z","updated_at":"2016-11-02T20:45:24Z","closed_at":"2016-11-02T20:45:24Z","body":"##### Expected Behaviour:\n\nAdding a domain to whitelist \n##### Actual Behaviour:\n\nDoes not add to whitelist as the JavaScript call fails CORS\n##### Steps to reproduce this issue:\n\nBrowse the pihole admin using the PM's domain name, not it's IP and add try to add a domain to the whitelist\n## <bountysource-plugin>\n\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35916404-whitelist-fails-cors-when-not-browsing-using-ip-address?utm_campaign=plugin&utm_content=tracker%2F3011939&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3011939&utm_medium=issues&utm_source=github).\n</bountysource-plugin>\n"},"comment":{"url":"https://api.github.com/repos/pi-hole/pi-hole/issues/comments/257993388","html_url":"https://github.com/pi-hole/pi-hole/issues/565#issuecomment-257993388","issue_url":"https://api.github.com/repos/pi-hole/pi-hole/issues/565","id":257993388,"user":{"login":"PromoFaux","id":1998970,"avatar_url":"https://avatars.githubusercontent.com/u/1998970?v=3","gravatar_id":"","url":"https://api.github.com/users/PromoFaux","html_url":"https://github.com/PromoFaux","followers_url":"https://api.github.com/users/PromoFaux/followers","following_url":"https://api.github.com/users/PromoFaux/following{/other_user}","gists_url":"https://api.github.com/users/PromoFaux/gists{/gist_id}","starred_url":"https://api.github.com/users/PromoFaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PromoFaux/subscriptions","organizations_url":"https://api.github.com/users/PromoFaux/orgs","repos_url":"https://api.github.com/users/PromoFaux/repos","events_url":"https://api.github.com/users/PromoFaux/events{/privacy}","received_events_url":"https://api.github.com/users/PromoFaux/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T20:45:24Z","updated_at":"2016-11-02T20:45:24Z","body":"Issue moved to [pi-hole/AdminLTE #184](https://github.com/pi-hole/AdminLTE/issues/184) via [**ZenHub**](https://www.zenhub.com/)\n"}}
{"actor":{"display_login":"PromoFaux"}}