Fix allegated vulnerability

This commit is contained in:
Joseph Garrone 2024-09-30 11:40:07 +02:00
parent 4272a860a2
commit cde8f11c60

View File

@ -487,6 +487,9 @@
"error.ftl" == pageId &&
are_same_path(path, ["realm"]) &&
!["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
) || (
"smtpConfig" == key &&
are_same_path(path, ["realm"])
) || (
"applications.ftl" == pageId &&
is_subpath(path, ["applications", "applications"]) &&