[Bug 43140] New: Make gabble_parse_xmpp_uri validate the node, domain and resource individually.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 21 16:34:47 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43140

             Bug #: 43140
           Summary: Make gabble_parse_xmpp_uri validate the node, domain
                    and resource individually.
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: andrunko at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


>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")."

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list