Adium

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#14908 closed defect (fixed)

XMPP message URI addressed to "domain" without "node@"

Reported by: skeltoac Owned by:
Milestone: Adium 1.4.2 Component: Service/XMPP (Jabber)
Version: 1.4.1 Severity: normal
Keywords: Cc:
Patch Status:

Description

Summary

The "node@" part of an XMPP address is optional. However, when an XMPP URI specifies an address without the "node@" part, Adium changes the address domain to (null)@domain.

Steps to reproduce

  1. Create a link to xmpp:example.com?message;body=testing
  2. Follow the link

Expected results

Adium opens a chat window with "example.com" and populates the input box with "testing". If the link was in a chat window with "example.com", the input box is populated.

Actual results

Adium opens a chat window with "(null)@example.com".

Notes

The use case involves a service that provides publish/subscribe services via Jabber chat. The service routes messages to subscribers from bare domain addresses, e.g. example.com instead of someuser@example.com.

Subscribers are permitted to post replies by beginning a message with a short code, e.g. r123, which indicates that the message is a reply to item 123. To facilitate this, the XHTML-IM version of item 123 includes a hyperlink:

<a href="xmpp:example.com?message;body=r123 ">reply</a>

When the user clicks that link in the chat window, the client should simply populate the input box with "r123". Instead, Adium opens a new chat window to "(null)@example.com".

Change History (2)

comment:1 Changed 9 years ago by Thijs Alkemade <thijsalkemade@…>

  • Resolution set to fixed
  • Status changed from new to closed

(In 9f091fa22d79) Fix xmpp:-urls without a user part opening chats with (null)@...

Fixes #14908

comment:2 Changed 9 years ago by sphynx

  • Milestone set to Adium 1.4.2
Note: See TracTickets for help on using tickets.