Fixed an issue with a trailing space in the subdir

pull/1805/head
tidusjar 7 years ago
parent 42d594622d
commit 8989b6b72b

@ -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);

Loading…
Cancel
Save