summaryrefslogtreecommitdiffstats
path: root/app/template-stream.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-06-09 20:49:11 +0000
committerTed Trask <ttrask01@yahoo.com>2008-06-09 20:49:11 +0000
commit31e05ffa486ed08e2c7a79ec8c2c76eb60cfde0a (patch)
tree065a6e545084dd120fa5c0adcc2d110ace91dc7c /app/template-stream.lsp
parent7344a5a7fbd434a160ba9ae28d8dfd709df79313 (diff)
downloadacf-core-31e05ffa486ed08e2c7a79ec8c2c76eb60cfde0a.tar.bz2
acf-core-31e05ffa486ed08e2c7a79ec8c2c76eb60cfde0a.tar.xz
Fixed download bug for logfiles and certificates.
Several changes to openssl: Removed renew cert and download revoked cert from view, do not allow bad chars and handle blank entries in subject, changed file names to use hash of Common Name allowing use of more chars, check CA cert for expiration, and add CA certs to pfx. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1213 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/template-stream.lsp')
-rw-r--r--app/template-stream.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/template-stream.lsp b/app/template-stream.lsp
index a89ff0f..1a5f3c0 100644
--- a/app/template-stream.lsp
+++ b/app/template-stream.lsp
@@ -1,8 +1,8 @@
<? local viewtable, viewlibrary, pageinfo, session = ... ?>
Status: 200 OK
Content-Type: <? print(viewtable.option or "application/octet-stream") ?>
-<? if viewtable.label then ?>
+<? if viewtable.label ~= "" then ?>
Content-Disposition: attachment; filename="<?= viewtable.label ?>"
<? end ?>
-
+<? io.write("\n") ?>
<?= viewtable.value ?>