Bug 43140 - Make gabble_parse_xmpp_uri validate the node, domain and resource individually.
Summary: Make gabble_parse_xmpp_uri validate the node, domain and resource individually.
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on: 30296
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-21 07:34 UTC by Andre Moreira Magalhaes
Modified: 2011-11-21 07:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Moreira Magalhaes 2011-11-21 07:34:47 UTC
From bug #30296 comment 21:

"I can't help feeling that gabble_parse_xmpp_uri() should validate the node,
domain and resource individually - at the moment it does a *lot* of JID ->
tuple -> JID -> tuple round-trips - but to do that properly, we'd need Wocky to
expose wocky_validate_jid_node(), wocky_validate_jid_domain(), and a new
wocky_validate_jid_domain() (at the moment the first two are static and the
third is just "is a non-empty string")."


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.