Bug 26204

Summary: should ideally check that incoming stanzas are addressed to us
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: fargoAssignee: David Laban <david.laban>
Status: NEW --- QA Contact: Simon McVittie <smcv>
Severity: minor    
Priority: low Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
Whiteboard: later
i915 platform: i915 features:

Description Simon McVittie 2010-01-25 04:15:20 UTC
>    def got_iq(self, stanza):
>        ...
>        # FIXME: should return error if 'to' is neither the gateway JID,
>        # nor a node + "@" + the gateway JID + an optional/ignored resource

Low impact because the jabberd should never route stanzas to us if they would violate this, so this is just for robustness.
Comment 1 David Laban 2010-03-22 07:26:17 UTC
Actually happens if fargo is misconfigured: I've actually added a debug statement to http://git.collabora.co.uk/?p=user/alsuren/telepathy-fargo.git;a=commitdiff;h=91bd2135577882153118b7f29e8c512ac72f67ab as part of http://git.collabora.co.uk/?p=user/alsuren/telepathy-fargo.git;a=shortlog;h=refs/heads/debugging but I didn't actually make it return an error.

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.