fix: more banned routes

This commit is contained in:
MiniDigger | Martin 2023-04-23 23:15:29 +02:00
parent 597e064dd3
commit 8fb18def81

View File

@ -14,7 +14,7 @@ public class ValidationService {
private static final Set<String> BANNED_ROUTES = Set.of("actuator", "admin", "api", "api-docs", "authors", "guidelines", "linkout", private static final Set<String> BANNED_ROUTES = Set.of("actuator", "admin", "api", "api-docs", "authors", "guidelines", "linkout",
"logged-out", "markdown", "new", "neworganization", "notifications", "null", "organizations", "privacy", "recommended", "settings", "logged-out", "markdown", "new", "neworganization", "notifications", "null", "organizations", "privacy", "recommended", "settings",
"staff", "terms", "tools", "tos", "undefined", "unread", "version", "paper", "velocity", "waterfall", "spigot", "mojang", "minecraft"); "staff", "terms", "tools", "tos", "undefined", "unread", "version", "paper", "velocity", "waterfall", "spigot", "mojang", "minecraft", "auth", "_nuxt");
private final HangarConfig config; private final HangarConfig config;
public ValidationService(final HangarConfig config) { public ValidationService(final HangarConfig config) {