Diff

plugins/mod_http_file_share.lua @ 11330:f2c9492e3d25

mod_http_file_share: Fix the obligatory misplaced closing bracket (thanks scansion)
author Kim Alvefur <zash@zash.se>
date Wed, 27 Jan 2021 23:38:14 +0100
parent 11329:2a431d3ad8f1
child 11331:7a915fa49373
line wrap: on
line diff
--- 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