caozhiyuan / FastDFSNetCore

FastDFS Async Client
Apache License 2.0
65 stars 23 forks source link

Compatibility with the first char of fileExt is a dot #6

Closed Rwing closed 5 years ago

Rwing commented 5 years ago

The System.IO.Path.GetExtension method return extesion with dot, like this '.jpg', '.png'.

caozhiyuan commented 5 years ago

@Rwing can add at here https://github.com/caozhiyuan/FastDFSNetCore/blob/master/src/FastDFS/Client/FastDFSClient.cs#L45

UploadAppenderFileAsync need also.

and change version to 1.2.1 (add Description Compatibility fileExt ) https://github.com/caozhiyuan/FastDFSNetCore/blob/master/src/FastDFS/FastDFS.csproj#L4