--- a/plugins/mod_http_file_share.lua Wed Jan 27 00:28:42 2021 +0100
+++ b/plugins/mod_http_file_share.lua Wed Jan 27 00:29:12 2021 +0100
@@ -47,7 +47,7 @@
filename = { type = "modify"; condition = "bad-request"; text = "Invalid filename" };
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-size"):text(tostring(file_size_limit)) };
+ extra = {tag = st.stanza("file-too-large", {xmlns = namespace}):tag("max-file-size"):text(tostring(file_size_limit)) };
};
});