summaryrefslogtreecommitdiff
path: root/ext/js/background/request-builder.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/background/request-builder.js')
-rw-r--r--ext/js/background/request-builder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/background/request-builder.js b/ext/js/background/request-builder.js
index dda5825d..6106e6eb 100644
--- a/ext/js/background/request-builder.js
+++ b/ext/js/background/request-builder.js
@@ -109,7 +109,7 @@ class RequestBuilder {
_getMatchURL(url) {
const url2 = new URL(url);
- return `${url2.protocol}//${url2.host}${url2.pathname}`;
+ return `${url2.protocol}//${url2.host}${url2.pathname}${url2.search}`.replace(/\*/g, '%2a');
}
_getOriginURL(url) {