API-21: Architekturtest gegen Fehlertext-Leck in HTTP-Antworten #123
Closed
patrick
wants to merge 0 commits from
feature/api-21-architekturtest-fehlertext-leck into integration/gesamtprojekt
pull from: feature/api-21-architekturtest-fehlertext-leck
merge into: scripte:integration/gesamtprojekt
scripte:main
scripte:fix/ai-app-write-timeout
scripte:chore/migration-kanban-board
scripte:chore/connect-kanban-board
scripte:chore/workflow-kanban-board
scripte:chore/archive-kanban-board
scripte:chore/mail-kanban-board
scripte:chore/dms-kanban-board
scripte:chore/core-kanban-board
scripte:chore/ai-kanban-board
scripte:chore/ai-kanban-security-folgetickets
scripte:feat/ai-app-deployment
scripte:feat/ai-app-vorschlaege
scripte:feat/ai-cls09-herkunftsmarkierung
scripte:feat/ai-eng09-gemini
scripte:feat/ai-cls08-mehrsprachig
scripte:feat/ai-titel-korrespondent
scripte:feat/dms-backup-s3
scripte:feat/dms-s3-verdrahten
scripte:docs/alfresco-vergleich
scripte:refactor/common-batch-2
scripte:refactor/common-modul-pilot
scripte:fix/dms-httpharden-normalize
scripte:feature/shl-02-pagecontainer-dedup
scripte:test/dedup-fakekek-testutil
scripte:feature/nav-01-mail-postfach-registry-eintrag
scripte:feature/sec-08-09-rbac-cmis-audit
scripte:feature/shl-04-globale-modul-navigation
scripte:chore/mail-kanban-security-folgetickets
scripte:chore/dms-kanban-security-folgetickets
scripte:chore/core-kanban-security-folgetickets
scripte:chore/archive-kanban-security-folgetickets
scripte:chore/workflow-kanban-security-folgetickets
scripte:chore/connect-kanban-security-folgetickets
scripte:feature/qa-08-barrierefreiheits-audit-workflow
scripte:feature/tsk-04-aufgaben-oberflaeche-workflow
scripte:feature/qa-08-barrierefreiheits-audit-connect
scripte:feature/int-18-smtp-gateway-weiterleitung-an-feste-adresse-dms
scripte:docs/rollout-131-vorbereitung
scripte:feature/met-08-facturx-zugferd-szenarien-validator-dms
scripte:feature/qa-15-sicherheitspruefung-gesamtprojekt
scripte:fix/testrun-2026-09-21-dms
scripte:feature/cmp-07-dsgvo-loeschantrag-recht-auf-loeschung
scripte:feature/cmp-06-vier-augen-freigabe-fuer-loeschungen
scripte:feature/cmp-02-dsgvo-datenschutz-berichte
scripte:feature/ret-03-loeschworkflow-und-aufbewahrungssperre-legal-hold
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Schliesst AK3 aus API-20 (Architekturtest).
internal/archtest(Core) undarchive/internal/archtest(Archive), AST-basiert ohne Typpruefung, zwei Regeln: keinerr.Error()direkt in HTTP-Antworten ausser ueberapierror, kein roheshttp.ListenAndServeausserhalbhttpharden. Ausnahmen ueber// archtest:allow <Begruendung>.Echter Fund und behoben:
internal/statuspage/statuspage.goschrieberr.Error()direkt in eine 500-Antwort (zur Laufzeit schon durchapierror.Normalizeabgefangen, jetzt auch am Ursprung sanktioniert ueberapierror.Write).Pruefungen (alle auf 204, Details in
docs/API-21-PRUEFPROTOKOLL.md):TestScanDetectsInjectedViolations(Core und Archive).go build/go vet/go test ./...vollstaendig, 0 Ausnahmen noetig.scripts/e2e-core-dms.sh10/10 Teilfaelle gruen.Kein Merge, kein Deploy.
🤖 Generated with Claude Code
Pull request closed