mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion)
This commit is contained in:
parent
7b01925b09
commit
f60a7d5f55
1 changed files with 1 additions and 1 deletions
|
@ -51,8 +51,8 @@ local upload_errors = errors.init(module.name, namespace, {
|
|||
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-file-size"):text(tostring(file_size_limit)) };
|
||||
filesizefmt = { type = "modify"; condition = "bad-request"; text = "File size must be positive integer"; }
|
||||
};
|
||||
filesizefmt = { type = "modify"; condition = "bad-request"; text = "File size must be positive integer"; }
|
||||
});
|
||||
|
||||
-- Convenience wrapper for logging file sizes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue