First of all, Let me explain my application application
1. I have front end applcation which is angular 5
2. I have back end application which is c# web api as below
var fileName = fileName + file.Extension;
var utf8fileName = Uri.EscapeDataString(fileName);
string contentDisposition = "attachment; filename=\"" + fileName + "\"; filename*=UTF-8''" + utf8fileName;
output = Request.CreateResponse(HttpStatusCode.OK);
output.Content = new StreamContent(fileStream);
output.Content.Headers.ContentType = new System.Net.Http.Headers.MediaTypeHeaderValue("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
It's seems to be ok in window and chrome but when I open my app on safari in ipad the excel file name has been changed to File.xlsx
File name has been changed to File.xlsx. I don't know why and how ios is working.
Thanks in advance
Is it a bug of safari in ipad?
Nobody can help?