Software /
code /
prosody
Diff
plugins/mod_csi_simple.lua @ 12526:252ed01896dd 0.12 0.12.1
mod_smacks: Bounce unhandled stanzas from local origin (fix #1759)
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 27 May 2022 14:45:35 +0200 (2022-05-27) |
parent | 12234:1c47162dd965 |
child | 12552:b4bc5a715e65 |
child | 13090:3cea237f9d1d |