# HG changeset patch # User Kim Alvefur # Date 1611787094 -3600 # Node ID f2c9492e3d258f3ea4501a31b5dd1908651876f7 # Parent 2a431d3ad8f14a551917623b1b7062badc3096d8 mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion) diff -r 2a431d3ad8f1 -r f2c9492e3d25 plugins/mod_http_file_share.lua --- a/plugins/mod_http_file_share.lua Wed Jan 27 22:10:11 2021 +0100 +++ b/plugins/mod_http_file_share.lua Wed Jan 27 23:38:14 2021 +0100 @@ -51,8 +51,8 @@ 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"; } - }; }); -- Convenience wrapper for logging file sizes