diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-27 14:45:35 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-27 14:45:35 +0200 |
commit | d7e7558bae40e9b28aeba55493439b51ddf506ec (patch) | |
tree | e77cbf14e33f97b8cb0d5dad5b7f8e0a15cdff1a /core/stanza_router.lua | |
parent | 568aa794417fc145a5174767b22195592f1a7fd1 (diff) | |
download | prosody-d7e7558bae40e9b28aeba55493439b51ddf506ec.tar.gz prosody-d7e7558bae40e9b28aeba55493439b51ddf506ec.zip |
mod_smacks: Bounce unhandled stanzas from local origin (fix #1759)0.12.1
Sending stanzas with a remote session as origin when the stanzas have a
local JID in the from attribute trips validation in core.stanza_router,
leading to warnings:
> Received a stanza claiming to be from remote.example, over a stream authed for localhost.example
Using module:send() uses the local host as origin, which is fine here.
Diffstat (limited to 'core/stanza_router.lua')
0 files changed, 0 insertions, 0 deletions