Browse Source

IPv6 addresses should serialize to lower-case hexadecimal.

Simon Sapin 12 years ago
parent
commit
c05d99d447
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/url.rs

+ 1 - 1
src/url.rs

@@ -1157,7 +1157,7 @@ impl Show for Ipv6Address {
                     break;
                 }
             }
-            try!(write!(formatter, "{:X}", self.pieces[i as uint]));
+            try!(write!(formatter, "{:x}", self.pieces[i as uint]));
             if i < 7 {
                 try!(formatter.write(b":"));
             }