What steps will reproduce the problem?
1. Connect
2. Authenticate
3. Send <iq type="set"><resource></resource></iq>
What is the expected output?
Stream error.
What do you see instead?
attempt to concatenate field 'xmlns' (a nil value)
core/stanza_router.lua:144
What version of the product are you using? On what operating system?
1:0.10.0-2 on Arch
Please provide any additional information below.
Reported by SamWhited
Zash
on
Fixed in https://prosody.im/issues/issue/1022
Tested in Telnet console
>prosody.core_process_stanza({type="c2s_unbound",close=print,host="localhost",send=print}, require"util.stanza".iq({type="set"}):tag("resource"))
| <iq id='lx2' type='error'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
What steps will reproduce the problem? 1. Connect 2. Authenticate 3. Send <iq type="set"><resource></resource></iq> What is the expected output? Stream error. What do you see instead? attempt to concatenate field 'xmlns' (a nil value) core/stanza_router.lua:144 What version of the product are you using? On what operating system? 1:0.10.0-2 on Arch Please provide any additional information below. Reported by SamWhited
Fixed in https://prosody.im/issues/issue/1022 Tested in Telnet console >prosody.core_process_stanza({type="c2s_unbound",close=print,host="localhost",send=print}, require"util.stanza".iq({type="set"}):tag("resource")) | <iq id='lx2' type='error'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
ChangesWrong link. Was really fixed in https://hg.prosody.im/0.10/rev/c72db8047440