#1022 Traceback on invalid resource binding

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Status-Fixed
  • Type-Defect
  • Priority-Medium
  • Milestone-0.10
  1. Zash on

    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

  2. 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>

    Changes
    • owner Zash
    • tags Status-Fixed
  3. Zash on

    Wrong link. Was really fixed in https://hg.prosody.im/0.10/rev/c72db8047440

New comment

Not published. Used for spam prevention and optional update notifications.