This commit is contained in:
joyqi 2025-01-10 14:53:47 +08:00 committed by GitHub
parent 6ddf1c1a23
commit 23724c4193
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -2882,8 +2882,8 @@ else
text = text.replace(/^http:\/\/(https?|ftp):\/\//, '$1://');
// fix issue #552
if (!/^(?:https?|ftp):\/\//.test(text) && !/^[_a-z0-9-]+:/i.test(text))
text = 'http://' + text;
// if (!/^(?:https?|ftp):\/\//.test(text) && !/^[_a-z0-9-]+:/i.test(text))
// text = 'http://' + text;
}
dialog.parentNode.removeChild(dialog);