# HG changeset patch # User Kim Alvefur # Date 1659983624 -7200 # Node ID 053417068957880ea4de04c0d6ec494b5270088a # Parent bd9e006a7a74d29eccc1bf7d5ed35f074f35c81f 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 diff -r bd9e006a7a74 -r 053417068957 doc/doap.xml --- a/doc/doap.xml Fri Aug 05 16:54:15 2022 +0200 +++ b/doc/doap.xml Mon Aug 08 20:33:44 2022 +0200 @@ -68,7 +68,7 @@ - 2.12.1 + 2.13.0 0.4.0 partial no support for multiple items (reported tag) @@ -120,7 +120,7 @@ - 1.34.1 + 1.34.3 0.3.0 partial @@ -173,7 +173,7 @@ - 1.22.0 + 1.24.1 0.9.0 partial mod_pubsub @@ -269,6 +269,7 @@ 1.0 0.9.0 complete + util.jid.(un)escape, missing rejection of \20 at start or end per xep version 1.1 @@ -298,7 +299,7 @@ - 1.5.2 + 1.6.0 0.8.0 complete @@ -356,7 +357,7 @@ - 2.0 + 2.1 0.6.0 0.10.0 removed @@ -391,7 +392,7 @@ - 1.2.1 + 1.2.2 0.5.0 complete @@ -562,7 +563,7 @@ - 0.7.1 + 0.7.2 complete 0.12.0 mod_external_services @@ -624,7 +625,7 @@ - 1.0.0 + 1.0.1 complete 0.10.0 @@ -658,7 +659,7 @@ - 1.0.0 + 1.0 0.11.0 complete Used by XEP-0280, XEP-0313 @@ -684,7 +685,7 @@ - 1.0.0 + 1.0.1 complete 0.10.0 mod_mam, mod_muc_mam @@ -738,7 +739,7 @@ - 1.0.0 + 1.1.0 complete 0.12.0 mod_http_file_share @@ -764,7 +765,7 @@ - 0.3.0 + 0.4.0 0.11.0 complete Used in context of XEP-0352 @@ -773,7 +774,7 @@ - 0.8.1 + 0.8.3 complete via XEP-0163, XEP-0222 @@ -790,7 +791,7 @@ - 0.3.0 + 0.5.0 0.12.0 partial @@ -854,5 +855,13 @@ complete + + + + 0.2.0 + 0.12.0 + complete + + diff -r bd9e006a7a74 -r 053417068957 util/jid.lua --- a/util/jid.lua Fri Aug 05 16:54:15 2022 +0200 +++ b/util/jid.lua Mon Aug 08 20:33:44 2022 +0200 @@ -111,6 +111,7 @@ 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