chore(fmt): gofmt cleanup on files touched by audit-2026-05-11 fix bundle

Whitespace alignment drift surfaced by gofmt -l after merging 7 fix branches.
Pure formatting, no semantic change. Pre-existing master drift in
internal/auth/oidc/{domain/types.go, integration_keycloak_rotate_test.go,
test_discovery.go} left untouched — that's separate tech debt.
This commit is contained in:
shankar0123
2026-05-11 11:29:48 +00:00
parent ad69158405
commit b8fac59200
4 changed files with 13 additions and 15 deletions
-2
View File
@@ -284,5 +284,3 @@ func (h AuditHandler) ExportAudit(w http.ResponseWriter, r *http.Request) {
"actor_id", actorID, "rows", len(events), "err", err)
}
}
+1 -1
View File
@@ -40,7 +40,7 @@ import "strings"
var ProtocolEndpointPrefixes = []string{
"/acme",
"/scep",
"/scep-mtls", // SCEP + mTLS sibling route (Phase 6.5)
"/scep-mtls", // SCEP + mTLS sibling route (Phase 6.5)
"/.well-known/est",
"/.well-known/est-mtls", // EST + mTLS sibling route (EST hardening Phase 2)
"/.well-known/pki/ocsp",
+1 -1
View File
@@ -530,7 +530,7 @@ func TestIsLoopbackAddr(t *testing.T) {
{"10.0.0.1", false},
{"192.168.1.1", false},
{"203.0.113.42", false},
{"example.com", false}, // hostname → fail closed
{"example.com", false}, // hostname → fail closed
{"my-cert-server.internal", false},
// Defensive: host:port form should still classify the host part.
{"127.0.0.1:8443", true},