summaryrefslogtreecommitdiffhomepage
path: root/applications/sgi-webuci/src
diff options
context:
space:
mode:
Diffstat (limited to 'applications/sgi-webuci/src')
-rw-r--r--applications/sgi-webuci/src/sgi/webuci.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/sgi-webuci/src/sgi/webuci.lua b/applications/sgi-webuci/src/sgi/webuci.lua
index bc1c7be7a2..d3d4cd4dc2 100644
--- a/applications/sgi-webuci/src/sgi/webuci.lua
+++ b/applications/sgi-webuci/src/sgi/webuci.lua
@@ -76,6 +76,12 @@ function ffluci.http.redirect(url)
print()
end
+-- Returns the path of an uploaded file
+-- WARNING! File uploads can be easily spoofed! Do additional sanity checks!
+function ffluci.http.upload(name)
+ -- To be implemented
+end
+
-- Sets HTTP-Status-Header
function ffluci.http.status(code, message)
print(webuci.env.SERVER_PROTOCOL .. " " .. tostring(code) .. " " .. message)