summaryrefslogtreecommitdiffstats
path: root/openssl-putcacert-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'openssl-putcacert-html.lsp')
-rw-r--r--openssl-putcacert-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-putcacert-html.lsp b/openssl-putcacert-html.lsp
index acb8677..b484dca 100644
--- a/openssl-putcacert-html.lsp
+++ b/openssl-putcacert-html.lsp
@@ -7,8 +7,8 @@ io.write(html.cfe_unpack(form))
<H1><%= html.html_escape(form.label) %></H1>
<%
- -- This is a kludge to get file upload working
- form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action .. '" enctype="multipart/form-data'
+ form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
+ form.enctype = "multipart/form-data"
form.value.ca.type="file"
form.value.password.type="password"
local order = {"ca", "password"}