mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-29 22:22:27 +00:00
oops
This commit is contained in:
1 parent
9996f67e5a
commit
f2d04f5786
1 file changed
+1
-1
@@ -1223,7 +1223,7 @@ class MarkDown {
|
||||
}
|
||||
if (URL.canParse(url)) {
|
||||
const Url = new URL(url);
|
||||
const trusted = ["http", "https"];
|
||||
const trusted = ["http:", "https:"];
|
||||
if (!trusted.includes(Url.protocol)) return;
|
||||
if (localuser) {
|
||||
const [_, _2, ...path] = Url.pathname.split("/");
|
||||
|
||||
Reference in new issue
Block a user