mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
handling of blank paths during validation.
This commit is contained in:
@@ -12,6 +12,7 @@ namespace NzbDrone.Api.Validation
|
||||
|
||||
protected override bool IsValid(PropertyValidatorContext context)
|
||||
{
|
||||
if (context.PropertyValue == null) return false;
|
||||
return context.PropertyValue.ToString().IsPathValid();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user