Trim trailing slashes in server URL in ConnectionInfo.

This commit is contained in:
Jared Goodwin 2021-04-16 05:33:53 -07:00
parent ba3dc24c88
commit b7fa3548ca

View File

@ -10,11 +10,11 @@ namespace Remotely.Shared.Models
{
get
{
return _host;
return _host?.Trim()?.TrimEnd('/');
}
set
{
_host = value.Trim().TrimEnd('/');
_host = value?.Trim()?.TrimEnd('/');
}
}
public string OrganizationID { get; set; }