fix(clean_url): decode url

This commit is contained in:
MDLeom 2025-05-20 07:48:26 +00:00
parent 8ba26943e7
commit 90f9f5e971
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 0 deletions

View File

@ -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'))
}