aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-08-28 18:44:02 +0200
committerKim Alvefur <zash@zash.se>2020-08-28 18:44:02 +0200
commitb37e985f4871fd2816c315d74869b08a5eb17b9d (patch)
treeff95ee34f21e29c17a6f24025c7f603c633ac102 /plugins/muc
parent403f320d905ae32f2b1f7568c229675b71667473 (diff)
downloadprosody-b37e985f4871fd2816c315d74869b08a5eb17b9d.tar.gz
prosody-b37e985f4871fd2816c315d74869b08a5eb17b9d.zip
util.jid: Fix special escaping of '\' per XEP-0106
From XEP-0106 §2. Requirements: > in certain circumstances, the escaping character itself ("\") might > also be escaped Later in §4.2 Address Transformation Algorithm it is stated that the backslash would only be escaped if it forms an escape sequence. Thus '\foo' is unaltered but '\20' must be escaped into '\5c20'. Thanks to lovetox and jonas’ for brining up.
Diffstat (limited to 'plugins/muc')
0 files changed, 0 insertions, 0 deletions