# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1611930855 -3600
# Node ID b7acab5e7f57a37721e9bfa9ab591603fd92b9ae
# Parent  dbba2d44fda20edce82dd83993b300c666246ad4
mod_http_file_share: Clarify message about missing Authorization header

diff -r dbba2d44fda2 -r b7acab5e7f57 plugins/mod_http_file_share.lua
--- a/plugins/mod_http_file_share.lua	Thu Jan 28 17:24:37 2021 +0100
+++ b/plugins/mod_http_file_share.lua	Fri Jan 29 15:34:15 2021 +0100
@@ -161,7 +161,7 @@
 		authz = authz:match("^Bearer (.*)")
 	end
 	if not authz then
-		module:log("debug", "Missing Authorization");
+		module:log("debug", "Missing or malformed Authorization header");
 		return 403;
 	end
 	local authed, upload_info = jwt.verify(secret, authz);