XEP-0280: negative Carbons example

This commit is contained in:
Georg Lukas 2019-09-11 10:05:01 +02:00
parent 13359c285f
commit f153bba0b3
1 changed files with 18 additions and 0 deletions

View File

@ -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>