Fix match patterns matching on URLs with port numbers

This commit is contained in:
hensm
2022-09-08 21:23:40 +01:00
parent 517d2768da
commit f76e8194fb

View File

@@ -93,7 +93,7 @@ export class RemoteMatchPattern {
}
// If pattern host is not a wildcard
if (!this.matchesDomain(url.host)) {
if (!this.matchesDomain(url.hostname)) {
return false;
}