fix(clean_url): decode url
This commit is contained in:
parent
8ba26943e7
commit
90f9f5e971
|
|
@ -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'))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue