mod_http_file_share: Fix name of max-file-size tag
authorKim Alvefur <zash@zash.se>
Wed, 27 Jan 2021 00:29:12 +0100
changeset 11322 3b16aba6285f
parent 11321 79e1f407b6f5
child 11323 a4b299e37909
mod_http_file_share: Fix name of max-file-size tag
plugins/mod_http_file_share.lua
--- 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)) };
 	};
 });