Commit 7a0eea7c authored by Robert Ricci's avatar Robert Ricci

Remove the Content-Disposition header - this forces the browser to

pop up a save dialog box, no matter what the user's settings for the
mime type are.
parent 88070190
......@@ -55,7 +55,6 @@ if (!isset($pid)) {
$filename = $node_id . ".tbc";
header("Content-Type: text/x-testbed-ssh");
header("Content-Disposition: attachment; filename=$filename;");
header("Content-Description: SSH description file for a testbed node");
echo "hostname: $vname.$eid.$pid.$OURDOMAIN\n";
......
......@@ -46,7 +46,6 @@ if (mysql_num_rows($query_result) == 0) {
$filename = $node_id . ".tbacl";
header("Content-Type: text/x-testbed-acl");
header("Content-Disposition: attachment; filename=$filename;");
header("Content-Description: ACL key file for a testbed node serial port");
# XXX, should handle multiple tip lines gracefully somehow,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment