Fixed an issue with a trailing space in the subdir

This commit is contained in:
tidusjar 2017-12-06 21:45:56 +00:00
commit 8989b6b72b

View file

@ -17,7 +17,7 @@ namespace Ombi.Settings.Settings.Models.External
{
if (!string.IsNullOrEmpty(SubDir))
{
var formattedSubDir = Ip.ReturnUriWithSubDir(Port, Ssl, SubDir);
var formattedSubDir = Ip.ReturnUriWithSubDir(Port, Ssl, SubDir.Trim());
return formattedSubDir.ToString();
}
var formatted = Ip.ReturnUri(Port, Ssl);