mirror of
https://github.com/Sonarr/Sonarr
synced 2026-01-04 06:33:32 +01:00
Ensure Custom Format Maximum Size won't overflow
This commit is contained in:
parent
70165bddc8
commit
a50d256264
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ public SizeSpecificationValidator()
|
|||
{
|
||||
RuleFor(c => c.Min).GreaterThanOrEqualTo(0);
|
||||
RuleFor(c => c.Max).GreaterThan(c => c.Min);
|
||||
RuleFor(c => c.Max).LessThanOrEqualTo(double.MaxValue);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue