# IPv6 bug

**URL:** <https://www.ruby-forum.com/t/ipv6-bug/199196>\
**Category:** NGINX\
**Created:** [November 16, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196 "2010-11-16T16:19:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [November 16, 2010, 4:19pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196/1 "2010-11-16T16:19:18Z")

</div>

I am sorry but my English is poor, I can’t discribe this problem  
clearly.

There is a screen to show you this bug:

![](http://static.uu8u.net/lynx.jpg)

[2001:470:1f05:117a::80] is running with apache 2.2.16 , and  
[2001:4858:aaaa:1:1::80] is running with nginx 0.8.52.  
“test” is a folder in document root.

Posted at Nginx Forum:

> **[IPv6 bug](https://forum.nginx.org/read.php?2,151179,151179#msg-151179)**
>
> I am sorry but my English is poor, I can't discribe this problem clearly. There is a screen to show you this bug: \[img\]http://static.uu8u.net/lynx.jpg\[/img\] \[2001:470:1f05:117a::80\] is running with apache 2.2.16 , and \[2001:4858:aaaa:1:1::80\] is r

---

<div class="post-metadata">

**Author:** ![newphp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@newphp](https://www.ruby-forum.com/u/newphp)\
**Post date:** [November 17, 2010, 12:42pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196/2 "2010-11-17T12:42:50Z")

</div>

Hello!

On Tue, Nov 16, 2010 at 10:18:03AM -0500, newphp wrote:

> “test” is a folder in document root.  
> Yes, thank you for your report. IPv6 address literals indeed aren’t  
> supported and nginx misinterprets ‘:’ in them as port separator.

Somebody should write a patch… not sure I have time to, though  
I’ll leave your message flagged in my inbox.

Maxim D.

---

<div class="post-metadata">

**Author:** ![newphp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@newphp](https://www.ruby-forum.com/u/newphp)\
**Post date:** [November 17, 2010, 1:01pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196/3 "2010-11-17T13:01:41Z")

</div>

On Wed, Nov 17, 2010 at 02:41:18PM +0300, Maxim D. wrote:

> > [2001:470:1f05:117a::80] is running with apache 2.2.16 , and  
> > [2001:4858:aaaa:1:1::80] is running with nginx 0.8.52.  
> > “test” is a folder in document root.
> 
> Yes, thank you for your report. IPv6 address literals indeed aren’t  
> supported and nginx misinterprets ‘:’ in them as port separator.
> 
> Somebody should write a patch… not sure I have time to, though  
> I’ll leave your message flagged in my inbox.

Are you sure that http://[2001:4858:aaaa:1:1::80]:80/ is common  
URL presetnation with IPv6 literal ?

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![newphp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@newphp](https://www.ruby-forum.com/u/newphp)\
**Post date:** [November 17, 2010, 1:13pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196/4 "2010-11-17T13:13:01Z")

</div>

On Wed, Nov 17, 2010 at 7:00 PM, Igor S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Are you sure that http://[2001:4858:aaaa:1:1::80]:80/ is common  
> URL presetnation with IPv6 literal ?

rfc2732:

1. Literal IPv6 Address Format in URL’s Syntax

–  
O\< ascii ribbon campaign - stop html mail - [www.asciiribbon.org](http://www.asciiribbon.org)

---

<div class="post-metadata">

**Author:** ![newphp](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/cab0a1/32.png) [@newphp](https://www.ruby-forum.com/u/newphp)\
**Post date:** [November 17, 2010, 1:14pm UTC](https://www.ruby-forum.com/t/ipv6-bug/199196/5 "2010-11-17T13:14:54Z")

</div>

On Wed, Nov 17, 2010 at 07:11:29PM +0700, Edho P Arief wrote:

> enclosed in “[” and “]” characters. For example the following  
> would be represented as in the following example URLs:
> 
> ```
> http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
> http://[1080:0:0:0:8:800:200C:417A]/index.html
> http://[3ffe:2a00:100:7031::1]
> http://[1080::8:800:200C:417A]/foo
> http://[::192.9.5.5]/ipng
> http://[::FFFF:129.144.52.38]:80/index.html
> http://[2010:836B:4179::836B:4179]
> 
> ```

OK, thank you.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**
