I am returning a file from my dotnet core api-controller like below
return File(csvData, "text/csv", "file.csv");
and in the browser response, what I get is
Content-Disposition: attachment; filename=file.csv; filename*=UTF-8''file.csv
Why is the filename
attribute coming twice?
These are two attributes, "filename" and "filename*".