Bug 195929

Summary: Konqueror doesn't handle URLs containing IPv6 addresses correctly
Product: [Applications] konqueror Reporter: Malte S. Stretz <mss>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Malte S. Stretz 2009-06-10 21:04:32 UTC
Version:           4.2.4 (KDE 4.2.4) (using 4.2.4 (KDE 4.2.4), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

If you want to access a server via its IPv6 address (yep, this happens), the correct way is to put the IPv6 address in square brackets, like this:
  http://[2001:0DB8::1]:631/
The address above would access CUPS on the given IPv6 address (with a port you see why the brackets make sense).

This works.

But Konqueror will replace the address with
  http://2001:0DB8::1:631/
in the address bar and links.

This won't work.

Even without a port its not possible to access this server without the brackets, because Konqueror will throw you at file:///
Comment 1 Malte S. Stretz 2009-06-10 21:05:35 UTC
Even when I hover the address above, Konqueror displays the wrong version without the brackets in the status bar.
Comment 2 Dario Andres 2009-06-10 21:24:10 UTC
Thanks

*** This bug has been marked as a duplicate of bug 171562 ***