diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-06-10 14:53:31 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-06-10 14:53:31 +0200 |
commit | 051d2472407c1dc1e6c2b88a00be04fe77da8919 (patch) | |
tree | daec6d822a65d9e9747a69a692fd608419cc8e0a /common/patterns.js | |
parent | f8dedf60638bffde3f92116db3f418d2e6260e80 (diff) | |
parent | d9441412a6052e5fb057d01b745208070f8bdfd4 (diff) | |
download | browser-extension-051d2472407c1dc1e6c2b88a00be04fe77da8919.tar.gz browser-extension-051d2472407c1dc1e6c2b88a00be04fe77da8919.zip |
merge support for CORS bypassing and eval()
Diffstat (limited to 'common/patterns.js')
-rw-r--r-- | common/patterns.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/patterns.js b/common/patterns.js index 9e9d387..7381cdd 100644 --- a/common/patterns.js +++ b/common/patterns.js @@ -192,7 +192,7 @@ const patterns_doc_url = function reconstruct_url(deco) { - const domain = deco.domain.join("."); + const domain = (deco.domain || []).join("."); const path = ["", ...deco.path].join("/"); const trail = deco.trailing_slash ? "/" : ""; return `${deco.proto}://${domain}${path}${trail}`; |