From d068be45d5380abd94dc41cb315bb2e0c6801e74 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 29 Jan 2021 15:34:15 +0100 Subject: mod_http_file_share: Clarify message about missing Authorization header --- plugins/mod_http_file_share.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index e9c00399..d960e853 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -161,7 +161,7 @@ function handle_upload(event, path) -- PUT /upload/:slot 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); -- cgit v1.2.3