[jdev] Checking the from of iq replies
Thijs Alkemade
me at thijsalkema.de
Tue Mar 4 11:15:55 UTC 2014
On 4 mrt. 2014, at 11:08, Lars Noschinski <lars at public.noschinski.de> wrote:
> Hi Thijs,
>
> On 04.03.2014 11:36, Thijs Alkemade wrote:
> > On 4 mrt. 2014, at 10:24, Lars Noschinski
> > <lars at public.noschinski.de
>
> >>> Legend e: empty l: local (client) jid bl: bare local jid dl:
> >>> domainpart of local jid s: server jid o: other jid
>
>
> > The changes to Pidgin were proposed for the situations where to=e
> > and from=l/dl/s, because those are used by a number of (broken)
> > servers out there. I have not seen it necessary to look at the
> > other possiblities in your table,
>
> I agree that your choices for Pidgin look sensible.
>
> > except for to=l from=e, which is empty in your table, but should be
> > allowed (I've submitted a new patch to Pidgin for this, but it
> > hasn't been accepted yet).
>
> Do you mean l or bl here? From your rule below, I guess you meant bl?
>
> Have you seen this combination in the wild? Or is this an instance of
> 'be liberal in what you receive’?
Sorry, you're correct, I meant bl.
It happens, but that may be more about something in Pidgin. Trying to 'Get
Info' on yourself in a MUC will send out an iq for your own vCard, but with
to=bl. Some servers do indeed reply to that with from=e.
Thijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://www.jabber.org/jdev/attachments/20140304/1cffadab/attachment.sig>
More information about the JDev
mailing list