Software / code / prosody
Comparison
plugins/mod_admin_adhoc.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 |
| parent | 11872:ffff0d8a9c68 |
| child | 12910:5c90862e39aa |
| child | 13528:c228f1ffb7b3 |
comparison
equal
deleted
inserted
replaced
| 12525:8087f5357f53 | 12526:252ed01896dd |
|---|