Fix links in messages cut if ! in path; make regex more readable

This commit is contained in:
schlagmichdoch 2025-02-14 19:13:39 +01:00
parent dabfe58124
commit e2f0ca6e45
2 changed files with 38 additions and 25 deletions

View file

@ -590,7 +590,7 @@ async function decodeBase64Text(base64) {
function isUrlValid(url) {
try {
let urlObj = new URL(url);
new URL(url);
return true;
}
catch (e) {