Opened 5 years ago

Last modified 5 years ago

#15788 new patch

xep-0077 In-Band-Registration Redirect

Reported by: mk-pidgin Owned by: deryni
Milestone: Patches Needing Review Component: XMPP
Version: 2.10.7 Keywords: registration redirect xmpp-0077
Cc:

Description

According to

http://xmpp.org/extensions/xep-0077.html#precedence

a client should, when receiving both iq:register instructions and x:oob URL, present the instructions and provide the URL as redirect. I know this is a bit unclear, because xep-0077 also states that

"The recommended approach is to include only the <instructions/> element rather than the required fields or a data form in the IQ result."

I believe it is generally a good approach to ignore the instructions data in that case but it would be quite useful to not only silently open the URL but also to notify with a popup that registration is redirected to a URL. The attached trivial patch does that.

Attachments (1)

notify_on_redirect.patch (520 bytes) - added by mk-pidgin 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by mk-pidgin

comment:1 Changed 5 years ago by Robby

  • Milestone set to Patches Needing Review
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!