Adium

Ticket #11031 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

IPv6 address links pass badly formatted URLs to the default browser

Reported by: nevlik Owned by: earthmkii
Milestone: Adium 1.3.2 Component: AutoHyperlinks
Version: 1.3.1 Severity: normal
Keywords: IPv6 URL Cc:
Patch Status:

Description

Adium takes this IPv6 URL:

 http://[2001:470:1f05:471:240:8cff:fe6b:5446]/view/index.shtml

and sends it to Firefox. Firefox displays:

 http://www.[2001.com:470/view/index.shtml

as the URL in the address bar. I've tested without the /view/index.shtml, and Firefox shows:

 http://www.[2001.com:470/

Bad regex parse?

Change History

Changed 10 months ago by earthmkii

  • owner changed from nobody to earthmkii
  • status changed from new to assigned
  • component changed from Adium Core to AutoHyperlinks
  • milestone set to Adium 1.3.2

This is a 2 part bug:

  1. We're being a little overaggressive escaping URIs to avoid i8n domain name fishing, and the brackets containing the IPv6 address are getting escaped
  2. Firefox doesn't recognize the escaped IPv6 address and freaks out. (the truncation doesn't happen with Safari)

I'll see about working around escaping IPv6 address part of the URIs.

Changed 10 months ago by sholt

(In [25145]) Don't escape the characters ' and ?' for IPv6 addresses. Refs #11031.

Changed 10 months ago by sholt

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

(In [25146]) Merging r25145 into the 1.3 branch. Fixes #11031.

Note: See TracTickets for help on using tickets.