[Mono-bugs] [Bug 75125][Nor] New - IPAddress.Parse throw FormatException for valid IPv6 address

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 15:23:27 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen at pandora.be.


--- shadow/75125	2005-06-02 15:23:27.000000000 -0400
+++ shadow/75125.tmp.13875	2005-06-02 15:23:27.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 75125
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: IPAddress.Parse throw FormatException for valid IPv6 address
+IPAddress.Parse considers the following IPv6 address 
+invalid: "2001::03A0:".
+To reproduce this issue, compile and execute the following code snippet:
+using System;
+using System.Net;
+public class EntryPoint {
+  public static void Main() {
+    Console.WriteLine(IPAddress.Parse("2001::03A0:"));
+  }
+Actual result:
+Unhandled Exception: System.FormatException: An invalid IP address was 
+Expected result:

More information about the mono-bugs mailing list