diff options
author | Kim Alvefur <zash@zash.se> | 2022-08-08 20:33:44 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-08-08 20:33:44 +0200 |
commit | 6619b204e37f7d0b7c18a1194688f3c85e8447fa (patch) | |
tree | 1d112ad26dab8e8b782e2f79bef6cd42f32330d7 /util/jid.lua | |
parent | 93830ecf40f487100170e22782d1966aa325067c (diff) | |
download | prosody-6619b204e37f7d0b7c18a1194688f3c85e8447fa.tar.gz prosody-6619b204e37f7d0b7c18a1194688f3c85e8447fa.zip |
doap: Update XEP versions for which no code changes appear needed
XEP-0004: Partial forms are handled
XEP-0045: We're already strict with GC 1.0
XEP-0060: Change in semantics wrt 'pubsub#type', but not in code
XEP-0115: No protocol change
XEP-0138: Specification moved to Obsolete
XEP-0163: Editorial only change
XEP-0215: Minor schema change
XEP-0280: Editorial change
XEP-0297: Had the wrong version number
XEP-0106: Note missing piece for version 1.1
XEP-0313: Editorial change
XEP-0363: Editorial clarification, no code change required
XEP-0380: Registry additions, no code change needed
XEP-0384: Not directly supported, only here because people will ask otherwise
XEP-0445: Broken out of XEP-0401
Diffstat (limited to 'util/jid.lua')
-rw-r--r-- | util/jid.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/jid.lua b/util/jid.lua index 694a6b1f..759af746 100644 --- a/util/jid.lua +++ b/util/jid.lua @@ -111,6 +111,7 @@ local function resource(jid) return (select(3, split(jid))); end +-- TODO Forbid \20 at start and end of escaped output per XEP-0106 v1.1 local function escape(s) return s and (s:gsub("\\%x%x", backslash_escapes):gsub("[\"&'/:<>@ ]", escapes)); end local function unescape(s) return s and (s:gsub("\\%x%x", unescapes)); end |