mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
set filename properly upon downloading capture
This commit is contained in:
parent
9aaf57ea89
commit
9f3259e081
@ -95,7 +95,7 @@ if ($_POST) {
|
||||
{
|
||||
$fs = filesize($fp.$fn);
|
||||
header("Content-Type: application/octet-stream");
|
||||
header("Content-Disposition: attachment; filename=$fp.$fn");
|
||||
header("Content-Disposition: attachment; filename=$fn");
|
||||
header("Content-Length: $fs");
|
||||
readfile($fp.$fn);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user