janvanbesien / java-ipv6

Java library to represent IPv6 addresses, networks, and related concepts
Apache License 2.0
85 stars 33 forks source link

IllegalArgumentException using zone indices #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
An ip with zone indices will result in an IllegalArgumentException, for 
example: [fe80:0:0:0:0:0:0:1%1]

What is the expected output? What do you see instead?
No exception, add maybe property with zoneindex information?

What version of the product are you using? On what operating system?
0.15 - mac 10.9.2

Please provide any additional information below.

Original issue reported on code.google.com by ir.p.sch...@gmail.com on 27 May 2014 at 9:49

GoogleCodeExporter commented 9 years ago
Zone indices are indeed not supported. There is AFAIK no functionality in the 
java-ipv6 library that would be influenced by these zone indices. So at the 
moment I am a bit reluctant to adding support for them in the parsing logic, 
without actually really using them.

Never say never, but right now your best option is probably to remove the zone 
indices before handing over an ip address to the java-ipv6 library.

Original comment by janvanbesien@gmail.com on 28 May 2014 at 12:41

GoogleCodeExporter commented 9 years ago
Issue 15 has been merged into this issue.

Original comment by janvanbesien@gmail.com on 30 Oct 2014 at 1:54

GoogleCodeExporter commented 9 years ago
Issue 15 has been merged into this issue.

Original comment by janvanbesien@gmail.com on 30 Oct 2014 at 1:56