diff options
author | Scott Dale <sdale@pfsense.org> | 2007-07-01 05:08:59 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-07-01 05:08:59 +0000 |
commit | 9f3259e081414931087f5ce6fc2834e26a3ddeeb (patch) | |
tree | b086e66f33e045c47e73b5a48b0afc9164e334a6 /usr | |
parent | 9aaf57ea89e6c99294271cf6f4eec73203a80de9 (diff) | |
download | pfsense-9f3259e081414931087f5ce6fc2834e26a3ddeeb.zip pfsense-9f3259e081414931087f5ce6fc2834e26a3ddeeb.tar.gz |
set filename properly upon downloading capture
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_packet_capture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_packet_capture.php b/usr/local/www/diag_packet_capture.php index 5f648ac..210b189 100644 --- a/usr/local/www/diag_packet_capture.php +++ b/usr/local/www/diag_packet_capture.php @@ -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); } |