fix: Aufteilung – Final-Review-Nachträge (Monat <1000, Übrige-Mitglieder, Auth-Test, Doku) (A13)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-29 16:56:57 +02:00
co-authored by Claude Opus 5.5
parent b32f28fff5
commit 987e28847c
6 changed files with 51 additions and 9 deletions
+2 -2
View File
@@ -426,8 +426,8 @@ def _aufteilung_context(session: Session, today: date, monat: str | None,
if month is None:
ctx["error"] = f"Ungültiger Monat „{monat}“ – bitte im Format JJJJ-MM wählen."
return ctx
ctx["monat_wert"] = month.strftime("%Y-%m")
ctx["monat_anzeige"] = month.strftime("%m.%Y")
ctx["monat_wert"] = f"{month.year:04d}-{month.month:02d}"
ctx["monat_anzeige"] = f"{month.month:02d}.{month.year:04d}"
scenario = None
if szenario:
valid_id = re.fullmatch(r"[0-9]{1,9}", szenario) # ASCII, kein Integer-Überlauf