--- a/plugins/mod_http_file_share.lua Wed Jan 27 22:10:11 2021 +0100
+++ b/plugins/mod_http_file_share.lua Wed Jan 27 23:38:14 2021 +0100
@@ -51,8 +51,8 @@
filetype = { type = "modify"; condition = "not-acceptable"; text = "File type not allowed" };
filesize = { type = "modify"; condition = "not-acceptable"; text = "File too large";
extra = {tag = st.stanza("file-too-large", {xmlns = namespace}):tag("max-file-size"):text(tostring(file_size_limit)) };
+ };
filesizefmt = { type = "modify"; condition = "bad-request"; text = "File size must be positive integer"; }
- };
});
-- Convenience wrapper for logging file sizes