From c5b5d2cd94c44e2322cf12594e1cfb1c6f44daf4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 21 Jan 2009 22:04:37 +0000 Subject: Added escapespecialcharacters to format.lua to escape shell special characters. Reviewed all calls to io.popen and os.execute to escape special characters. Fixed file uploads in openssl and ipsectools with viewfunctions.lua. Tried to fix openssl renew when subject contains special characters, but not done yet. git-svn-id: svn://svn.alpinelinux.org/acf/ipsec-tools/trunk@1687 ab2d0c66-481e-0410-8bed-d214d4d58bed --- ipsectools-uploadcert-html.lsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ipsectools-uploadcert-html.lsp') diff --git a/ipsectools-uploadcert-html.lsp b/ipsectools-uploadcert-html.lsp index 02ed7a0..ad503c3 100644 --- a/ipsectools-uploadcert-html.lsp +++ b/ipsectools-uploadcert-html.lsp @@ -7,8 +7,8 @@ io.write(html.cfe_unpack(form))

<%= html.html_escape(form.label) %>

<% - -- 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.cert.type="file" form.value.password.type="password" local order = {"cert", "password"} -- cgit v1.2.3