mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
XEP-0280: negative Carbons example
This commit is contained in:
parent
13359c285f
commit
f153bba0b3
18
xep-0280.xml
18
xep-0280.xml
@ -360,6 +360,24 @@
|
||||
</forwarded>
|
||||
</received>
|
||||
</message>
|
||||
]]></example>
|
||||
<p>A client MUST NOT accept Carbons that originate from a different JID than the own account (See <link url='#security'>Security Considerations</link>).</p>
|
||||
<example caption='Tybalt attempts Carbons impersonation attack on Romeo'><![CDATA[
|
||||
<message xmlns='jabber:client'
|
||||
from='tybalt@capulet.example/home'
|
||||
to='romeo@montague.example'
|
||||
type='chat'>
|
||||
<received xmlns='urn:xmpp:carbons:2'>
|
||||
<forwarded xmlns='urn:xmpp:forward:0'>
|
||||
<message xmlns='jabber:client'
|
||||
from='juliet@capulet.example/balcony'
|
||||
to='romeo@montague.example/garden'
|
||||
type='chat'>
|
||||
<body>Thou shall meet me tonite, at our house's hall!</body>
|
||||
</message>
|
||||
</forwarded>
|
||||
</received>
|
||||
</message>
|
||||
]]></example>
|
||||
|
||||
</section1>
|
||||
|
Loading…
Reference in New Issue
Block a user