mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-20 16:12:16 +00:00
Fix links in messages cut if ! in path; make regex more readable
This commit is contained in:
@@ -590,7 +590,7 @@ async function decodeBase64Text(base64) {
|
||||
|
||||
function isUrlValid(url) {
|
||||
try {
|
||||
let urlObj = new URL(url);
|
||||
new URL(url);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user