mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Merge pull request #427 from SolidX/master
Fixes incorrect default port for an FTP Account
This commit is contained in:
commit
03a4f3b440
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
|
||||||
}
|
}
|
||||||
|
|
||||||
httpHomeUri = new UriBuilder(URLHelpers.CombineURL(host, subFolderPath, filename));
|
httpHomeUri = new UriBuilder(URLHelpers.CombineURL(host, subFolderPath, filename));
|
||||||
|
httpHomeUri.Port = -1; //Since httpHomePath is not set, it's safe to erase UriBuilder's assumed port number
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue