Software /
code /
prosody
Changeset
11318:3b16aba6285f
mod_http_file_share: Fix name of max-file-size tag
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Jan 2021 00:29:12 +0100 |
parents | 11317:79e1f407b6f5 |
children | 11319:a4b299e37909 |
files | plugins/mod_http_file_share.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)) }; }; });