view mod_xmllang_check/README.md @ 6562:5da6fb562df9 default tip

mod_unified_push: Fix push error handling (fixes #2000) Use the error object that send_iq() passes as an argument to it's reject callback instead of attempting and failing to do the parsing in the callback itself.
author kmq
date Mon, 06 Jul 2026 14:23:57 +0200
parents de3dc4297035
children
line wrap: on
line source

# mod_xmllang_check

This module strips invalid `xml:lang` values from S2S outgoing stanzas. This is to avoid issues with ejabberd validating these values.

See notes on ejabberd in `xml-lang-enforcement-findings.md`.

## Configuration

```lua
modules_enabled = {
	"xmllang_check";
}
```