Software /
code /
prosody-modules
Comparison
mod_firewall/README.markdown @ 2002:ce991c678370
mod_firewall/README: Markup XML example as XML :)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 10 Jan 2016 04:58:14 +0100 |
parent | 1803:4d73a1a6ba68 |
child | 2036:7ba6ed553c93 |
comparison
equal
deleted
inserted
replaced
2001:3246d53ce0c3 | 2002:ce991c678370 |
---|---|
124 value or text content). An example is the best way to explain. Let's | 124 value or text content). An example is the best way to explain. Let's |
125 check that a user is not trying to register an account with the username | 125 check that a user is not trying to register an account with the username |
126 'admin'. This stanza comes from [XEP-0077: In-band | 126 'admin'. This stanza comes from [XEP-0077: In-band |
127 Registration](http://xmpp.org/extensions/xep-0077.html#example-4): | 127 Registration](http://xmpp.org/extensions/xep-0077.html#example-4): |
128 | 128 |
129 <iq type='set' id='reg2'> | 129 ``` xml |
130 <query xmlns='jabber:iq:register'> | 130 <iq type='set' id='reg2'> |
131 <username>bill</username> | 131 <query xmlns='jabber:iq:register'> |
132 <password>Calliope</password> | 132 <username>bill</username> |
133 <email>bard@shakespeare.lit</email> | 133 <password>Calliope</password> |
134 </query> | 134 <email>bard@shakespeare.lit</email> |
135 </iq> | 135 </query> |
136 </iq> | |
137 ``` | |
136 | 138 |
137 KIND: iq | 139 KIND: iq |
138 TYPE: set | 140 TYPE: set |
139 PAYLOAD: jabber:iq:register | 141 PAYLOAD: jabber:iq:register |
140 INSPECT: {jabber:iq:register}query/username#=admin | 142 INSPECT: {jabber:iq:register}query/username#=admin |