mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_http_file_share: Fix name of max-file-size tag
This commit is contained in:
parent
435af38451
commit
4b74c6abb7
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ local upload_errors = errors.init(module.name, namespace, {
|
|||
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)) };
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue