From 90f9f5e971853ca8fd966abdc7ab5d55e7781907 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Tue, 20 May 2025 07:48:26 +0000 Subject: [PATCH] fix(clean_url): decode url --- src/clean_url.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clean_url.js b/src/clean_url.js index 06230a9f..e35c2752 100644 --- a/src/clean_url.js +++ b/src/clean_url.js @@ -51,6 +51,7 @@ const deSafelink = (urlStr) => { // WhatsApp if (url.hostname === 'l.wl.co' && url.pathname === '/l') { + url = new URL(decodeURIComponent(url.href.replaceAll('&', '&'))) url = new URL(url.searchParams.get('u')) }