mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
handling of blank paths during validation.
This commit is contained in:
parent
9e08dffa58
commit
daabc6364d
2 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace NzbDrone.Common
|
|||
|
||||
public static bool IsPathValid(this string path)
|
||||
{
|
||||
if (path.ContainsInvalidPathChars())
|
||||
if (path.ContainsInvalidPathChars() || string.IsNullOrWhiteSpace(path))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue