Console: Don't list inner classes on /configlogging

Because the $ won't get through the XSS filter
This commit is contained in:
zzz
2023-11-21 07:45:57 -05:00
parent ecd9140f89
commit a08f59d42f

View File

@@ -118,6 +118,9 @@ public class ConfigLoggingHelper extends HelperBase {
for (Log log : logs) {
String name = log.getName();
// skip inner classes, the $ gets caught by the XSS filter
if (name.contains("$"))
continue;
if (!limits.contains(name))
sortedLogs.add(name);