diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-29 15:34:15 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-29 15:34:15 +0100 |
commit | d068be45d5380abd94dc41cb315bb2e0c6801e74 (patch) | |
tree | 4b2b27ff54e49f1dd17d4ec4b8dac804095353e5 | |
parent | 2c8349a602275f2cd9f3a96832891635f81ab628 (diff) | |
download | prosody-d068be45d5380abd94dc41cb315bb2e0c6801e74.tar.gz prosody-d068be45d5380abd94dc41cb315bb2e0c6801e74.zip |
mod_http_file_share: Clarify message about missing Authorization header
-rw-r--r-- | plugins/mod_http_file_share.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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); |