mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Fix links in messages cut if ! in path; make regex more readable
This commit is contained in:
parent
dabfe58124
commit
e2f0ca6e45
2 changed files with 38 additions and 25 deletions
|
@ -590,7 +590,7 @@ async function decodeBase64Text(base64) {
|
|||
|
||||
function isUrlValid(url) {
|
||||
try {
|
||||
let urlObj = new URL(url);
|
||||
new URL(url);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue