diff --git a/packages/mitmproxy/src/utils/util.match.js b/packages/mitmproxy/src/utils/util.match.js index f922add..6d53b8f 100644 --- a/packages/mitmproxy/src/utils/util.match.js +++ b/packages/mitmproxy/src/utils/util.match.js @@ -2,8 +2,8 @@ const lodash = require('lodash') const log = require('./util.log') function isMatched (url, regexp) { - if (regexp === true || regexp === 'true') { - return true + if (regexp === true || regexp === 'true' || regexp === '*' || regexp === '.*') { + return url } try {