Skip to content

Commit 5466f10

Browse files
committed
Proper filename
1 parent db8c13f commit 5466f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Particular.LicensingComponent/WebApi/LicensingController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public async Task GetThroughputReportFile([FromQuery(Name = "spVersion")] string
6262
HttpContext.Response.ContentType = "application/zip";
6363
HttpContext.Response.Headers[HeaderNames.ContentDisposition] = new ContentDispositionHeaderValue("attachment")
6464
{
65-
FileName = fileName
65+
FileName = $"{fileName}.zip"
6666
}.ToString();
6767

6868
using var archive = new ZipArchive(Response.BodyWriter.AsStream(), ZipArchiveMode.Create, leaveOpen: true);

0 commit comments

Comments
 (0)