From 3ecb61f0645685cc6c0da11b97bfecc685765f6d Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 20 Apr 2017 17:20:44 +0200 Subject: [PATCH] tools (common/uri): minor comment update --- src/tools/common/uri.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/common/uri.py b/src/tools/common/uri.py index 99065427..185f11e2 100644 --- a/src/tools/common/uri.py +++ b/src/tools/common/uri.py @@ -43,6 +43,8 @@ def parseXMPPUri(uri): if uri_split.scheme != 'xmpp': raise ValueError(u'this is not a XMPP URI') + # XXX: we don't use jid.JID for path as it can be used both in backend and frontend + # which may use different JID classes data = {u'path': urllib.unquote(uri_split.path).decode('utf-8')} query_end = uri_split.query.find(';')