{"action":"opened","issue":{"url":"https://api.github.com/repos/gorhill/uBlock/issues/1943","repository_url":"https://api.github.com/repos/gorhill/uBlock","labels_url":"https://api.github.com/repos/gorhill/uBlock/issues/1943/labels{/name}","comments_url":"https://api.github.com/repos/gorhill/uBlock/issues/1943/comments","events_url":"https://api.github.com/repos/gorhill/uBlock/issues/1943/events","html_url":"https://github.com/gorhill/uBlock/issues/1943","id":173753029,"number":1943,"title":"websocket blocked when easylist match ","user":{"login":"jaypea","id":367199,"avatar_url":"https://avatars.githubusercontent.com/u/367199?v=3","gravatar_id":"","url":"https://api.github.com/users/jaypea","html_url":"https://github.com/jaypea","followers_url":"https://api.github.com/users/jaypea/followers","following_url":"https://api.github.com/users/jaypea/following{/other_user}","gists_url":"https://api.github.com/users/jaypea/gists{/gist_id}","starred_url":"https://api.github.com/users/jaypea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaypea/subscriptions","organizations_url":"https://api.github.com/users/jaypea/orgs","repos_url":"https://api.github.com/users/jaypea/repos","events_url":"https://api.github.com/users/jaypea/events{/privacy}","received_events_url":"https://api.github.com/users/jaypea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T11:26:00Z","updated_at":"2016-08-29T11:26:00Z","closed_at":null,"body":"Read first: <https://github.com/gorhill/uBlock/blob/master/CONTRIBUTING.md>\r\n\r\n### Describe the issue\r\ni'm developing a JS app which tries to use a websocket (socket.io) on the local domain. \r\nhowever the request to wss://localhost:8080 gets blocked when the URI of the page has an easylist match:\r\n```\r\n12:57:21\t\t\t\txhr\thttp://localhost:8080/__webpack_hmr\r\n12:57:21\t\t\t\tfont\thttp://localhost:8080/a0537ab9872ea22b2d7284338162d708.woff2\r\n12:57:21\t\t\t\txhr\thttp://localhost:8080/socket.io/?EIO=3&transport=polling&t=LRLyanz\r\n12:57:21\t\t\t\tscript\thttp://localhost:8080/bundle.js\r\n12:57:21\t\t\t\tcss\thttp://localhost:8080/fonts/font-awesome/css/font-awesome.min.css\r\n12:57:20\t\t/?view=ad\t--\twebsocket\thttp://localhost:8080/?view=admin\r\n12:57:20\t\t\t\tinline-script\thttp://localhost:8080/?view=admin\r\n12:57:20\t\t\t\tdoc\thttp://localhost:8080/?view=admin\r\n```\r\n![image](https://cloud.githubusercontent.com/assets/367199/18049443/99d3eff0-6de8-11e6-9518-6d237f34746b.png)\r\n\r\nscript console says: `bundle.js:46 Refused to connect to 'wss://localhost:8080/socket.io/?EIO=3&transport=websocket&sid=4nqaF7ANnFB8df04AAAa' because it violates the following Content Security Policy directive: \"connect-src http:\".`\r\n\r\ni'd expect the connection to wss:// or ws:// to be allowed for the same host and port.\r\n\r\n### Your settings\r\n\r\n<details>\r\n<summary>settings backup txt</summary>\r\n{\r\n  \"timeStamp\": 1472469752457,\r\n  \"version\": \"1.9.2\",\r\n  \"userSettings\": {\r\n    \"advancedUserEnabled\": true,\r\n    \"autoUpdate\": true,\r\n    \"cloudStorageEnabled\": true,\r\n    \"collapseBlocked\": true,\r\n    \"colorBlindFriendly\": false,\r\n    \"contextMenuEnabled\": true,\r\n    \"dynamicFilteringEnabled\": true,\r\n    \"externalLists\": \"! Examples:\\n! https://easylist-downloads.adblockplus.org/fb_annoyances_full.txt\\n! https://easylist-downloads.adblockplus.org/yt_annoyances_full.txt\\nhttps://raw.githubusercontent.com/r4vi/block-the-eu-cookie-shit-list/master/filterlist.txt\\nhttps://raw.github.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt\\n\",\r\n    \"firewallPaneMinimized\": true,\r\n    \"hyperlinkAuditingDisabled\": true,\r\n    \"ignoreGenericCosmeticFilters\": false,\r\n    \"largeMediaSize\": 50,\r\n    \"parseAllABPHideFilters\": true,\r\n    \"prefetchingDisabled\": true,\r\n    \"requestLogMaxEntries\": 1000,\r\n    \"showIconBadge\": true,\r\n    \"tooltipsDisabled\": false,\r\n    \"webrtcIPAddressHidden\": false\r\n  },\r\n  \"filterLists\": {\r\n    \"assets/user/filters.txt\": {\r\n      \"group\": \"default\",\r\n      \"off\": false,\r\n      \"entryCount\": 0,\r\n      \"entryUsedCount\": 0\r\n    },\r\n    \"assets/ublock/experimental.txt\": {\r\n      \"title\": \"uBlock filters – Experimental\",\r\n      \"group\": \"default\",\r\n      \"off\": true,\r\n      \"supportURL\": \"https://github.com/gorhill/uBlock/wiki/Experimental-filters\",\r\n      \"instructionURL\": \"https://github.com/gorhill/uBlock/wiki/Experimental-filters\"\r\n    },\r\n    \"https://raw.githubusercontent.com/r4vi/block-the-eu-cookie-shit-list/master/filterlist.txt\": {\r\n      \"title\": \"Block-EU-Cookie-Shit-List\",\r\n      \"group\": \"custom\",\r\n      \"external\": true,\r\n      \"off\": false,\r\n      \"entryCount\": 1134,\r\n      \"entryUsedCount\": 799\r\n    },\r\n    \"https://raw.github.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt\": {\r\n      \"title\": \"AakList (Anti-Adblock Killer)\",\r\n      \"group\": \"custom\",\r\n      \"external\": true,\r\n      \"off\": false,\r\n      \"entryCount\": 2009,\r\n      \"entryUsedCount\": 0\r\n    },\r\n    \"assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt\": {\r\n      \"title\": \"EasyList\",\r\n      \"group\": \"ads\",\r\n      \"homeURL\": \"https://easylist.to/easylist/easylist.txt\",\r\n      \"supportURL\": \"https://forums.lanik.us/\",\r\n      \"off\": false,\r\n      \"entryCount\": 66758,\r\n      \"entryUsedCount\": 66672\r\n    },\r\n    \"https://easylist-downloads.adblockplus.org/easylistgermany.txt\": {\r\n      \"off\": false,\r\n      \"title\": \"DEU: EasyList Germany\",\r\n      \"group\": \"regions\",\r\n      \"lang\": \"de\",\r\n      \"supportURL\": \"https://forums.lanik.us/viewforum.php?f=90\",\r\n      \"entryCount\": 9587,\r\n      \"entryUsedCount\": 9584\r\n    },\r\n    \"assets/thirdparties/easylist-downloads.adblockplus.org/easyprivacy.txt\": {\r\n      \"title\": \"EasyPrivacy\",\r\n      \"group\": \"privacy\",\r\n      \"homeURL\": \"https://easylist.to/easylist/easyprivacy.txt\",\r\n      \"supportURL\": \"https://forums.lanik.us/\",\r\n      \"off\": false,\r\n      \"entryCount\": 11910,\r\n      \"entryUsedCount\": 11869\r\n    },\r\n    \"https://raw.githubusercontent.com/liamja/Prebake/master/obtrusive.txt\": {\r\n      \"off\": false,\r\n      \"title\": \"EU: Prebake - Filter Obtrusive Cookie Notices\",\r\n      \"group\": \"regions\",\r\n      \"supportURL\": \"https://github.com/liamja/Prebake\",\r\n      \"entryCount\": 862,\r\n      \"entryUsedCount\": 859\r\n    },\r\n    \"assets/thirdparties/mirror1.malwaredomains.com/files/justdomains\": {\r\n      \"title\": \"Malware domains\",\r\n      \"group\": \"malware\",\r\n      \"homeURL\": \"https://mirror.cedia.org.ec/malwaredomains/justdomains\",\r\n      \"supportURL\": \"http://www.malwaredomains.com/\",\r\n      \"off\": false,\r\n      \"entryCount\": 23103,\r\n      \"entryUsedCount\": 23031\r\n    },\r\n    \"assets/thirdparties/pgl.yoyo.org/as/serverlist\": {\r\n      \"title\": \"Peter Lowe’s Ad server list\",\r\n      \"group\": \"ads\",\r\n      \"homeURL\": \"https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&mimetype=plaintext\",\r\n      \"supportURL\": \"https://pgl.yoyo.org/adservers/\",\r\n      \"off\": false,\r\n      \"entryCount\": 2371,\r\n      \"entryUsedCount\": 2371\r\n    },\r\n    \"https://raw.githubusercontent.com/reek/anti-adblock-killer/master/anti-adblock-killer-filters.txt\": {\r\n      \"off\": false,\r\n      \"title\": \"Anti-Adblock Killer | Reek\",\r\n      \"group\": \"ads\",\r\n      \"supportURL\": \"https://github.com/reek/anti-adblock-killer\",\r\n      \"instructionURL\": \"https://github.com/reek/anti-adblock-killer#instruction\",\r\n      \"entryCount\": 2009,\r\n      \"entryUsedCount\": 2009\r\n    },\r\n    \"assets/thirdparties/www.malwaredomainlist.com/hostslist/hosts.txt\": {\r\n      \"title\": \"Malware Domain List\",\r\n      \"group\": \"malware\",\r\n      \"homeURL\": \"https://www.malwaredomainlist.com/hostslist/hosts.txt\",\r\n      \"off\": false,\r\n      \"entryCount\": 1226,\r\n      \"entryUsedCount\": 1226\r\n    }\r\n  },\r\n  \"netWhitelist\": \"about-scheme\\nbehind-the-scene\\nchrome-extension-scheme\\nchrome-scheme\\njimdo.dev\\nloopconversation.about-scheme\\nopera-scheme\",\r\n  \"dynamicFilteringString\": \"behind-the-scene * 3p-frame noop\\nbehind-the-scene * 3p noop\",\r\n  \"urlFilteringString\": \"\",\r\n  \"hostnameSwitchesString\": \"\",\r\n  \"userFilters\": \"\"\r\n}\r\n</details>\r\n\r\n- Browser/version: Chrome 52 linux\r\n- uBlock Origin version: 1.9.2\r\n\r\n##### Your filter lists\r\n\r\nDefault filter lists + DEU\r\n\r\n##### Your custom filters (if any)\r\n"}}
{"actor":{"display_login":"jaypea"}}