mirror of
https://github.com/ShareX/ShareX.git
synced 2024-08-17 11:11:34 +12:00
Several changes were made to fix the encoding of ftp dirpaths and allow uploads to folders with non-ascii characters: -Fixed encoding of valid urls in ShareX.HelpersLib.NameParser.cs -Fixed subfolder path generation and wrong url re-encoding in FTPAccount.cs -Fixed preview paths in FTP Destination settings (FTPAccount.cs) -Fixed subfolder path generation in FTP.cs This fixes issue #372, which was reproduced with the following account config on a local ftp server (import from clipboard on destination settings): { "Protocol": "FTP", "Name": "New account", "Host": "localhost", "Port": 21, "Username": "test", "Password": "test", "ServerProtocol": "ftp", "SubFolderPath": "DEV/grhh本人%", "BrowserProtocol": "http", "HttpHomePath": "", "HttpHomePathAutoAddSubFolderPath": true, "HttpHomePathNoExtension": false, "IsActive": false, "FTPSEncryption": "Explicit", "FTPSCertificateLocation": "", "Passphrase": null, "Keypath": null } |
||
---|---|---|
.. | ||
FTPAccount.cs | ||
FTPAdapter.cs |