[opw-web] Fix contract filename
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [opw-web] Fix contract filename
- Date: Sun, 14 Jun 2015 18:03:13 +0000 (UTC)
commit 186feee7c2c3794bba41414dfd6c445ef6607e3d
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Sun Jun 14 14:02:56 2015 -0400
Fix contract filename
modules/mod_contract.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/mod_contract.php b/modules/mod_contract.php
index 325270b..46ad28a 100644
--- a/modules/mod_contract.php
+++ b/modules/mod_contract.php
@@ -169,7 +169,7 @@ if ($action == 'edit_student' || $action == 'edit_mentor') {
$zipfile->close();
header("Content-Type: application/zip");
- header("Content-Disposition: filename='{$folder_name}.zip'");
+ header("Content-Disposition: filename=\"{$folder_name}.zip\"");
header('Content-Length: ' . filesize($zipname));
readfile($zipname);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]