Merge remote-tracking branch 'origin/dev' into feat/homarr-assistant

# Conflicts:
#	pnpm-lock.yaml
This commit is contained in:
ajnart committed 2026-08-03 17:08:45 +02:00
commit 56a6d4989a
40 files changed
+5090 -1088

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ export const appHrefSchema = z
.trim()
.url()
.regex(/^(?!javascript)[a-zA-Z]*:\/\//i) // javascript: is not allowed, i for case insensitive (so Javascript: is also not allowed)
.or(z.string().trim().includes("[homarr_base]"))
.or(z.string().trim().includes("[homarr_hostname]"))
.or(z.string().trim().includes("[homarr_domain]"))
.or(z.string().trim().includes("[homarr_protocol]"))
.or(z.literal(""))
.transform((value) => (value.length === 0 ? null : value))
.nullable();