diff src/tools/common/uri.py @ 2229:761fa220a717

tools (common/uri): minor comment update
author Goffi <goffi@goffi.org>
date Thu, 20 Apr 2017 17:20:44 +0200
parents bdc64c487e21
children e5e54ff0b775
line wrap: on
line diff
--- a/src/tools/common/uri.py	Mon Apr 17 20:34:43 2017 +0200
+++ b/src/tools/common/uri.py	Thu Apr 20 17:20:44 2017 +0200
@@ -43,6 +43,8 @@
     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(';')