aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-18 18:37:04 +0100
committerKim Alvefur <zash@zash.se>2019-01-18 18:37:04 +0100
commit757051d913bc481290bb47efc7b0955bfdb6d5ef (patch)
tree6d82610d0afd1b8e6f73ce2a489ca033fc56571b
parentad15946ae310d40ea8d3d67f59fb6e1d55776276 (diff)
downloadprosody-757051d913bc481290bb47efc7b0955bfdb6d5ef.tar.gz
prosody-757051d913bc481290bb47efc7b0955bfdb6d5ef.zip
mod_websocket: Include the value of cross_domain_websocket in debug message
-rw-r--r--plugins/mod_websocket.lua2
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