Bug 26204 - should ideally check that incoming stanzas are addressed to us
Summary: should ideally check that incoming stanzas are addressed to us
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: fargo (show other bugs)
Version: git master
Hardware: Other All
: low minor
Assignee: David Laban
QA Contact: Simon McVittie
URL:
Whiteboard: later
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-01-25 04:15 UTC by Simon McVittie
Modified: 2010-03-22 07:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.