#1725 mod_external_services: Misplaced textual error message

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

    What steps will reproduce the problem? <iq type='get' xml:lang='sv' id='lx5' to='localhost'> <credentials xmlns='urn:xmpp:extdisco:2'> <service host='default.example' /> </credentials> </iq> What is the expected output? <iq type='error' id='lx5' from='localhost'> <error type='modify'> <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>The 'port' and 'type' attributes are required.</text> </error> </iq> What do you see instead? <iq type='error' id='lx5' from='localhost'> <error type='modify'> <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/> </error> </iq> What version of the product are you using? Prosody 0.12.0 since https://hg.prosody.im/trunk/rev/c4599a7c534c Please provide any additional information below. The error <text> message was mistakenly added in an authorization check instead of the correct place.

  2. Zash on

    fixed in https://hg.prosody.im/trunk/rev/95f33a006c03

    Changes
    • owner Zash
    • tags Status-Fixed

New comment

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