diff options
Diffstat (limited to 'openssl-putcacert-html.lsp')
-rw-r--r-- | openssl-putcacert-html.lsp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openssl-putcacert-html.lsp b/openssl-putcacert-html.lsp index ed3ab02..2a2cfb7 100644 --- a/openssl-putcacert-html.lsp +++ b/openssl-putcacert-html.lsp @@ -1,4 +1,4 @@ -<? local form = ... ?> +<? local form, viewlibrary, page_info = ... ?> <? require("viewfunctions") ?> <? --[[ DEBUG INFORMATION @@ -7,7 +7,8 @@ io.write(html.cfe_unpack(form)) <H1><?= form.label ?></H1> <? - form.action = 'putcacert" enctype="multipart/form-data' + -- 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.value.ca.type="file" form.value.password.type="password" local order = {"ca", "password"} |