From 2c0dd92ac7b41dbf41c3d2e25cec66bf61da7eb4 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 14 Sep 2020 07:14:39 -0500 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E2=99=BB=20don't=20encode=20a?= =?UTF-8?q?mpersand=20in=20ABP=20subscription=20links?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #252 ref https://github.com/uBlockOrigin/uBlock-issues/issues/763 --- web/src/components/SubscribeButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/SubscribeButtons.tsx b/web/src/components/SubscribeButtons.tsx index 461951ab7..6e37ac1d0 100644 --- a/web/src/components/SubscribeButtons.tsx +++ b/web/src/components/SubscribeButtons.tsx @@ -69,7 +69,7 @@ const buildButtonProps = (name: string, viewUrl: string) => { const hrefLocation = `${encodeURIComponent(viewUrl)}`; const hrefTitle = `${encodeURIComponent(name)}`; - let href = `abp:subscribe?location=${hrefLocation}&title=${hrefTitle}`; + let href = `abp:subscribe?location=${hrefLocation}&title=${hrefTitle}`; let prefixes: string[] = []; let message = `Subscribe to ${name} with a browser extension supporting the "abp:" protocol (e.g. uBlock Origin, Adblock Plus).`;