diff options
author | Kim Alvefur <zash@zash.se> | 2019-01-18 18:37:04 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-01-18 18:37:04 +0100 |
commit | 9cb4461ab7cec2bb16bd4b32f1dbf908253e482b (patch) | |
tree | 6d82610d0afd1b8e6f73ce2a489ca033fc56571b | |
parent | fc632a3a78bdc638b421f86369f5e38f6e8a82ed (diff) | |
download | prosody-9cb4461ab7cec2bb16bd4b32f1dbf908253e482b.tar.gz prosody-9cb4461ab7cec2bb16bd4b32f1dbf908253e482b.zip |
mod_websocket: Include the value of cross_domain_websocket in debug message
-rw-r--r-- | plugins/mod_websocket.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua index a668b4fa..475cabfe 100644 --- a/plugins/mod_websocket.lua +++ b/plugins/mod_websocket.lua @@ -159,7 +159,7 @@ function handle_request(event) end if not check_origin(request.headers.origin or "") then - module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket'", request.headers.origin or "(missing header)"); + module:log("debug", "Origin %s is not allowed by 'cross_domain_websocket' [ %s ]", request.headers.origin or "(missing header)", cross_domain); return 403; end |