[
https://issues.apache.org/jira/browse/VYSPER-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Jakl updated VYSPER-92:
-------------------------------
Comment: was deleted
(was: Find attached the fix that works for me. To add the "from" attribute to
the stanza, I had to loosen the unmodifiable set. Why make it so hard to change
the stanza?
Anyway, the unmodifiable property was only set for lists that contained an
element, if an empty list was given it was modifiable. I've opted to remove the
restriction.
Please review the patch, it works for me, but touches on the very core of
Vysper.)
> Stanzas don't get enriched with a "from" Attribute when the client omits it.
> ----------------------------------------------------------------------------
>
> Key: VYSPER-92
> URL: https://issues.apache.org/jira/browse/VYSPER-92
> Project: VYSPER
> Issue Type: Bug
> Components: core protocol
> Reporter: Michael Jakl
> Assignee: Bernd Fondermann
>
> RFC3920 9.1.2:
> When a server receives an XML stanza within the context of an authenticated
> stream qualified by the 'jabber:client' namespace, it MUST do one of the
> following:
> 1. validate that the value of the 'from' attribute provided by the client
> is that of a connected resource for the associated entity
> 2. add a 'from' address to the stanza whose value is the bare JID
> (<n...@domain>) or the full JID (<n...@domain/resource>) determined by the
> server for the connected resource that generated the stanza (see
> Determination of Addresses).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.