[Bug 24398] New: Don't trust id attribute on incoming <message/>s

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 8 19:22:17 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24398

           Summary: Don't trust id attribute on incoming <message/>s
           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: will.thompson at collabora.co.uk


Gabble makes unique IDs for messages it sends (using libuuid if available, or a
good-enough approximation if not), and uses them as the id attribute. This lets
a UI reliably match up failing delivery reports to the original message, if it
wants to: the message id is exposed as the 'message-token' header field on the
Messages interface.

We currently expose the 'id' attribute on incoming messages as message-token
too, but we should not: we cannot guarantee that the other client produces
globally-unique ids. Notably, Google Talk uses incrementing integers...


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



More information about the telepathy-bugs mailing list