We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d24b71 commit 527b4a2Copy full SHA for 527b4a2
src/js/reverselookup-worker.js
@@ -163,7 +163,7 @@ const fromExtendedFilter = function(details) {
163
const regexTargetMatchesURL = target => {
164
const pathPos = target.indexOf('\\/');
165
if ( pathPos === -1 ) {
166
- return regexTargetMatchesHostname(target.slice(1, -1));
+ return regexTargetMatchesHostname(target);
167
}
168
return regexTargetMatchesHostname(`${target.slice(1, pathPos)}$`) &&
169
(new RegExp(`^${target.slice(pathPos, -1)}`)).test(pathname);
0 commit comments