mirror of
https://github.com/avwo/whistle.git
synced 2026-10-28 14:07:30 +08:00
fix: ignore://proxy|socks|http-proxy
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ function _handleWebsocket(socket, clientIp, clientPort, callback, wss) {
|
||||
pluginMgr.getRules(socket, function(rulesMgr) {
|
||||
if (pluginRules = rulesMgr) {
|
||||
util.mergeRules(socket, rulesMgr.resolveRules(fullUrl));
|
||||
if (filter.rule) {
|
||||
if (util.isIgnored(filter, 'rule')) {
|
||||
plugin = null;
|
||||
} else {
|
||||
plugin = pluginMgr.getPluginByRuleUrl(util.rule.getUrl(_rules.rule));
|
||||
|
||||
Reference in New Issue
Block a user