mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-07-15 14:22:28 -05:00
Add MaxTaskRepeatAfterSeconds (10 years in seconds) and reject any create/update that tries to store a value outside [0, cap] with a new ErrInvalidTaskRepeatInterval (error code 4029). Defense-in-depth alongside the arithmetic fix in addRepeatIntervalToTime: keeps stored values well away from int64 overflow and bounds the range of inputs a future refactor could trip over.
79 KiB
79 KiB