Adium

Opened 11 years ago

Closed 11 years ago

#11031 closed defect (fixed)

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: 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 (3)

comment:1 Changed 11 years ago by Stephen Holt

Component: Adium CoreAutoHyperlinks
Milestone: Adium 1.3.2
Owner: changed from nobody to Stephen Holt
Status: newassigned

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.

comment:2 Changed 11 years ago by sholt

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

comment:3 Changed 11 years ago by sholt

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.