{"action":"created","issue":{"url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/51","repository_url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete","labels_url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/51/comments","events_url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/51/events","html_url":"https://github.com/mrdokenny/Cookie-AutoDelete/issues/51","id":236637197,"number":51,"title":"Issues with domain whitelisting from icon","user":{"login":"collectorgeneral","id":15972594,"avatar_url":"https://avatars3.githubusercontent.com/u/15972594?v=3","gravatar_id":"","url":"https://api.github.com/users/collectorgeneral","html_url":"https://github.com/collectorgeneral","followers_url":"https://api.github.com/users/collectorgeneral/followers","following_url":"https://api.github.com/users/collectorgeneral/following{/other_user}","gists_url":"https://api.github.com/users/collectorgeneral/gists{/gist_id}","starred_url":"https://api.github.com/users/collectorgeneral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collectorgeneral/subscriptions","organizations_url":"https://api.github.com/users/collectorgeneral/orgs","repos_url":"https://api.github.com/users/collectorgeneral/repos","events_url":"https://api.github.com/users/collectorgeneral/events{/privacy}","received_events_url":"https://api.github.com/users/collectorgeneral/received_events","type":"User","site_admin":false},"labels":[{"id":628466577,"url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/labels/notabug/expectedbehavior","name":"notabug/expectedbehavior","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-06-17T04:06:34Z","updated_at":"2017-06-17T05:28:26Z","closed_at":null,"body":"### Describe the Bug/Feature\r\n\r\nIt appears to me that certain websites have issues with whitelisting the domain.\r\n\r\nFor instance, if one goes to account.google.com and whitelists from there, it does not whitelist google.com (which we want) but rather it whitelists account.google.com which has the undesirable effect of deleting cookies.\r\n\r\nWhat would be expected is that google.com gets whitelisted instead. \r\n\r\nAnother related issue with some websites that have urls such as: www1.somewebsite.com or www2.somewebsite.com: if visited and whitelisted, the extension appears to capture the wwwx part of the url. What would be expected is that it ignores those parts. \r\n\r\n### Screenshot in which the bug can be seen\r\n![screenshot from 2017-06-17 00-48-42_2](https://user-images.githubusercontent.com/15972594/27249963-684566bc-52f8-11e7-9b37-516febb4c2e1.png)\r\n![screenshot from 2017-06-17 00-58-00](https://user-images.githubusercontent.com/15972594/27249962-684549b6-52f8-11e7-820f-c7cd1b63581c.png)\r\n\r\nAs you can see, I whitelisted google.com from the accounts page but on gmail, it does not detect the whitelist and essentially deletes the cookie.\r\n\r\n### Steps for anyone to reproduce the bug\r\n\r\nAs an example, go to accounts.google.com and whitelist using the extension icon. it appears fine but when you go to other services such as gmail, they are not identified. \r\n\r\n### Your settings \r\n\r\nALL tickboxes checked.\r\n\r\n- OS/version: \r\nManjaro 17.0.1\r\n- Browser/version: \r\nFirefox 53.0.3\r\n- Cookie AutoDelete version: \r\n1.3.0"},"comment":{"url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/comments/309194796","html_url":"https://github.com/mrdokenny/Cookie-AutoDelete/issues/51#issuecomment-309194796","issue_url":"https://api.github.com/repos/mrdokenny/Cookie-AutoDelete/issues/51","id":309194796,"user":{"login":"mrdokenny","id":17077613,"avatar_url":"https://avatars0.githubusercontent.com/u/17077613?v=3","gravatar_id":"","url":"https://api.github.com/users/mrdokenny","html_url":"https://github.com/mrdokenny","followers_url":"https://api.github.com/users/mrdokenny/followers","following_url":"https://api.github.com/users/mrdokenny/following{/other_user}","gists_url":"https://api.github.com/users/mrdokenny/gists{/gist_id}","starred_url":"https://api.github.com/users/mrdokenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrdokenny/subscriptions","organizations_url":"https://api.github.com/users/mrdokenny/orgs","repos_url":"https://api.github.com/users/mrdokenny/repos","events_url":"https://api.github.com/users/mrdokenny/events{/privacy}","received_events_url":"https://api.github.com/users/mrdokenny/received_events","type":"User","site_admin":false},"created_at":"2017-06-17T05:28:26Z","updated_at":"2017-06-17T05:28:26Z","body":"I see. Ok then.\r\n![capture2](https://user-images.githubusercontent.com/17077613/27250360-6326d122-52e2-11e7-8212-f6718bd9b676.PNG)\r\n\r\nFor future reference, look at the domain part and add that manually (without the leading dot) for the sites you want to protect cause the cleanup is going to be comparing that domain attribute for every cookie.\r\n\r\nAdding the site from the popup is probably working fine for the majority of people (including me), it's just those random sites (mostly international) that give it an issue so any example sites should be reported. 😄  "}}
{"actor":{"display_login":"mrdokenny"}}