#1521 mod_vcard4 reports wrong error

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

    What steps will reproduce the problem? 1. Restrictive configuration on vcard4 PEP node 2. Query from an account that should not have access What is the expected output? <iq type='error' from='...' id='7' xml:lang='en'> <error type='auth'> <forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> What do you see instead? <iq type='error' from='...' id='lx8' xml:lang='en'> <error type='modify'> <undefined-condition xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> What version of the product are you using? On what operating system? 0.11 Please provide any additional information below. The module checks the wrong return value for the error condition.

  2. Zash on

    Fixed in https://hg.prosody.im/trunk/rev/c4b49939b471

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

    It should more or less return the same error as a pubsub items query to the vcard4 node.

New comment

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