Adium

Ticket #7161 (closed defect: fixed)

Opened 1 year ago

Last modified 4 months ago

Pasted IDN domains are not recognized as HTTP URL hyperlinks in Adium (newest version)

Reported by: hirschnase Assigned to: boredzo
Priority: normal Milestone: Adium X 1.1
Component: Adium UI Version: 1.0.4
Severity: normal Keywords: IDN domain link url hyperlink
Cc: Patch: None
Pending: 0

Description

When I paste or receive a IDN (domain containing special characters) domain in the chat window, it does not get recodnized as a URL and no link is generated out of it. Ideally, Adium would detect these type of domains and automatically encode them to ACE using Punycode.

Change History

07/21/2007 11:47:53 PM changed by boredzo

  • owner changed from nobody to boredzo.
  • status changed from new to assigned.

Confirmed in 1.0.5. This is an easy-enough fix: Just include all bytes above 0x7f in the hostname regex in the lex file.

07/21/2007 11:54:28 PM changed by boredzo

  • milestone set to Adium X 1.1.

07/22/2007 12:00:23 AM changed by boredzo

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [20361]) Fixed #7161 by allowing all characters above 0x7f, except 0xf5?\226?\128?\1470xff (which Unicode says don't occur in UTF-8 sequences), in the hostname of a URL. RFC 1738 and RFC 2396 only allow alphanumeric characters here, but it's not possible to fix this ticket and be strict about only allowing alphanumerics, because flex doesn't know Unicode.

05/23/2008 07:22:50 AM changed by boredzo

(In [23586]) Added test case for HTTP URLs with non-ASCII characters (in this case, Greek characters), using a URL from Wikipedia. Refs #7161.