mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Fix Issue ShareX/ShareX#802
Do not url-encode file names for (S)FTP upload
This commit is contained in:
parent
c399f48276
commit
0eb0cad50c
2 changed files with 0 additions and 2 deletions
|
@ -109,7 +109,6 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
{
|
||||
UploadResult result = new UploadResult();
|
||||
|
||||
fileName = Helpers.GetValidURL(fileName);
|
||||
string subFolderPath = Account.GetSubFolderPath(null, NameParserType.FolderPath);
|
||||
string path = subFolderPath.CombineURL(fileName);
|
||||
bool uploadResult;
|
||||
|
|
|
@ -67,7 +67,6 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
{
|
||||
UploadResult result = new UploadResult();
|
||||
|
||||
fileName = Helpers.GetValidURL(fileName);
|
||||
string subFolderPath = Account.GetSubFolderPath();
|
||||
string path = subFolderPath.CombineURL(fileName);
|
||||
bool uploadResult;
|
||||
|
|
Loading…
Reference in a new issue