mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_external_services: Validate required attributes on credentials requests
This commit is contained in:
parent
4ddf47aaf0
commit
d915f98800
2 changed files with 20 additions and 1 deletions
|
@ -52,6 +52,20 @@ Romeo receives:
|
|||
</credentials>
|
||||
</iq>
|
||||
|
||||
Romeo sends:
|
||||
<iq type='get' xml:lang='sv' id='lx5' to='localhost'>
|
||||
<credentials xmlns='urn:xmpp:extdisco:2'>
|
||||
<service host='default.example' />
|
||||
</credentials>
|
||||
</iq>
|
||||
|
||||
Romeo receives:
|
||||
<iq type='error' id='lx5' from='localhost'>
|
||||
<error type='modify'>
|
||||
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||
</error>
|
||||
</iq>
|
||||
|
||||
Romeo disconnects
|
||||
|
||||
# recording ended on 2020-07-18T16:47:57Z
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue