fixup! Fixes the code for additional test cases.

This commit is contained in:
2024-12-06 13:22:18 +00:00
parent ac84c69812
commit 5799f8ca7c
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ func prepareQueriesAndExemptions() {
// Process allowed introspection queries
for _, q := range cfg.Security.IntrospectionAllowed {
introspectionAllowedQueries[strings.ToLower(strings.TrimSpace(q))] = struct{}{}
cleanQuery := strings.Trim(strings.TrimSpace(q), `"`)
introspectionAllowedQueries[strings.ToLower(cleanQuery)] = struct{}{}
}
// Process allowed URLs