Hi,
There seem to be a bug with RadCloudUpload when uploading files containing accents even when removing the accents using SetKeyName . You can reproduce the problem using the online demo:
http://demos.telerik.com/aspnet-ajax/cloud-upload/examples/overview/defaultcs.aspx
Try to upload a file named testé.txt and it will simply spin forever... with the Azure Provider it will give a 400 bad request error.
This bug occurs even when using a custom keyname (ie: renaming testé.txt to test.txt)
It looks like it's posting an empty keyname in the form-data / metadata
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuConfigurationData" o7YTRi9y7g5a87elRnSedOyIfTEV6yRP4qSiSAbpKNqJACur2dz8NDNMqtQYwyZm+gslxpwauOF6zoZHoyrVz4z+x6D3YzCZt0GJWxCPX96H/e9o635zvsgBjRPk0kV0cj+OKg==
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="file"; filename="blob"Content-Type: application/octet-strea------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuPostData" {"KeyName":"","OriginalName":"testé.txt","UploadId":"","IsSingleUpload":true,"IsLastChunk":true,"ChunkNumber":1,"PartEtags":[]}------WebKitFormBoundary27qdoJuKD1bZGORU--
Exception thrown for upload operation for file with keyName: test.txt
Telerik.Web.UI.CloudUploadProviderException
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.AzureProvider.UploadFile(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.CloudUpload.BaseWorker.PerformSingleRequestUpload()
at Telerik.Web.UI.CloudUpload.BaseWorker.Process()
at Telerik.Web.UI.CloudUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Telerik.Web.UI
The remote server returned an error: (400) Bad Request.
Microsoft.WindowsAzure.Storage.StorageException
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.SetMetadata(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
Microsoft.WindowsAzure.Storage
The remote server returned an error: (400) Bad Request.
System.Net.WebException
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
I am using Telerik 2015.1.401.45
Please let me know if a hotfix or workaround is possible.
Thanks,
Kim