# HG changeset patch # User Kim Alvefur # Date 1611703752 -3600 # Node ID 3b16aba6285fe03065fe6076bfaf22dee0f348ef # Parent 79e1f407b6f5337fc13f96bd91d3e065b3977e44 mod_http_file_share: Fix name of max-file-size tag diff -r 79e1f407b6f5 -r 3b16aba6285f 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)) }; }; });