Mercurial > libervia-backend
changeset 2229:761fa220a717
tools (common/uri): minor comment update
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 20 Apr 2017 17:20:44 +0200 |
parents | cf6c539672c7 |
children | ebc0c1701811 |
files | src/tools/common/uri.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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(';')