Beta #30

Merged
didirus merged 990 commits from beta into release 2026-06-20 05:06:18 +00:00
Showing only changes of commit c556624d0e - Show all commits
+6 -1
View File
@@ -109,7 +109,12 @@ export const configuredXss = new FilterXSS({
'bstats.org',
]
if (!allowedHostnames.includes(url.hostname)) {
const allowedHostnameSuffixes = ['.github.io']
if (
!allowedHostnames.includes(url.hostname) &&
!allowedHostnameSuffixes.some((suffix) => url.hostname.endsWith(suffix))
) {
return safeAttrValue(
tag,
name,