Software /
code /
prosody
File
core/features.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 | 12252:4bfe658415a0 |
child | 12655:a5a0783e9241 |
child | 13110:d5f322dd424b |
line wrap: on
line source
local set = require "util.set"; return { available = set.new{ -- mod_bookmarks bundled "mod_bookmarks"; }; };