Apply nodeprep on S2S stanza addresses

Description

Normally, JID instances are stringprepped (ensuring that they conform to a specific form and format). This mechanism is resource intensive. It can be skipped, if the JID value is supplied by a source that is known to have already applied stringprepped.

Openfire currently assumes that stanzas that arrive from other servers (through S2S) are already stringprepped. This obviously should be the case, but there is far from a guarantee that this has indeed happened.

Openfire should not skip prepping JID values that arrive from remote servers.

Environment

None

duplicates

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created June 30, 2022 at 11:10 AM
Updated May 23, 2023 at 2:51 PM
Resolved May 23, 2023 at 2:51 PM

Flag notifications