From cae9f3e3942ce2583d5577c744bd46bbb9181d2b Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 22 May 2013 12:36:47 -0600 Subject: [PATCH] 0.0.2 --- inbox/jidprep.xml | 63 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 49 insertions(+), 14 deletions(-) diff --git a/inbox/jidprep.xml b/inbox/jidprep.xml index ad66cf8a..b6a827d9 100644 --- a/inbox/jidprep.xml +++ b/inbox/jidprep.xml @@ -27,6 +27,12 @@ lance@lance.im lance@lance.im + + 0.0.2 + 2013-05-21 + lance +

Incorporated feedback.

+
0.0.1 2013-05-08 @@ -41,20 +47,33 @@

If a server supports JID prep queries, it MUST specify the 'urn:xmpp:jidprep:tmp' feature in its service discovery information features as specified in &xep0030; and the Entity Capabilities profile specified in &xep0115;.

- + + ]]> - -... - -... + + + ... + + ... + +]]> +

The JID prep service MAY be supported through the use of an external component (&xep0114;); in which case, the component MUST return an identity of "component/jidprep" in addition to the "urn:xmpp:jidprep:tmp" feature.

+ + + + ... + ]]>
@@ -92,7 +111,7 @@

If a client has the ability to perform the prepping and normalization process itself, it SHOULD NOT make a JID prep request to the server.

Upon a successful response, the client SHOULD cache the result, mapping the original JID to the normalized version.

-

In order to reduce the number of queries made by clients, the server SHOULD ensure that any JID slots understood by the server (e.g. the to and from attributes, roster item JIDs, etc) are properly normalized.

+

In order to reduce the number of queries made by clients, the server MUST enforce normalization rules for any JID slots understood by the server (e.g. the to and from attributes, roster item JIDs, etc).This requirement is intended to be subsumed by the requirements introduced in &rfc6122bis;

As the process for normalizing a JID can be resource intensive, there is a possibility for denial of service attacks. A server MAY rate limit the number of requests to prevent such attacks. Likewise, the server MAY only respond to requests from users that are local to the server.

@@ -110,7 +129,23 @@ &NSVER; - + +

The ®ISTRAR; includes a category of "component" in its registry of Service Discovery identities (see &DISCOCATEGORIES;); as a result of this document, the Registrar includes a type of "jidprep" to that category.

+

The registry submission is as follows:

+ + component + + jidprep + + A server component that offers a JID prepping + and normalization service to constrained clients. + + XEP-XXXX + + +]]> +