fix(browser-extension): issue #199

This commit is contained in:
wanhose 2024-11-10 22:38:50 +01:00
parent 40b29fdd87
commit effe22da79

View File

@ -401,6 +401,7 @@ function validateForm(params) {
} }
try { try {
if (/\s/.test(url)) throw new Error();
new URL(url); new URL(url);
} catch { } catch {
errors = { errors = {