This commit is contained in:
MathMan05 committed 2026-07-14 18:30:49 -05:00
1 parent 9996f67e5a
commit f2d04f5786
1 file changed
+1 -1
+1 -1
View File
@@ -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("/");