Software /
code /
prosody
Comparison
plugins/mod_s2s.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 | 12474:8fac32810144 |
child | 12476:d8a6e03a7161 |
child | 12679:7d4a95ba9b6c |
comparison
equal
deleted
inserted
replaced
12525:8087f5357f53 | 12526:252ed01896dd |
---|