abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guo Wei (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-258) Abdera needs to support IPv6
Date Mon, 05 Jul 2010 02:34:49 GMT
Abdera needs to support IPv6
----------------------------

                 Key: ABDERA-258
                 URL: https://issues.apache.org/jira/browse/ABDERA-258
             Project: Abdera
          Issue Type: Bug
    Affects Versions: 1.0, 0.4.0
            Reporter: Guo Wei


Abdera v0.4 and v1.0 have issue to support IPv6. According to http://www.ietf.org/rfc/rfc2732.txt,
'[', ']' and ':' are valid characters in IPV6 URL. However, when we use such IPv6 URL (http://[2001:1890:110b:661f:65d4:c37c:1d82:f2e6]:8080)
with Abdera, it throws exception.

---------- 
Caused by: org.apache.abdera.parser.ParseException: org.apache.abdera.i18n.iri.IRISyntaxException:
org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x5b([) 
at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:210) 
at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:145) 
at org.apache.abdera.protocol.client.AbstractClientResponse.getDocument(AbstractClientResponse.java:119)

... 27 more 
Caused by: org.apache.abdera.i18n.iri.IRISyntaxException: org.apache.abdera.i18n.text.InvalidCharacterException:
Invalid Character 0x5b([) 
at org.apache.abdera.i18n.iri.IRI.parseAuthority(IRI.java:616) 
at org.apache.abdera.i18n.iri.IRI.parse(IRI.java:632) 
at org.apache.abdera.i18n.iri.IRI.<init>(IRI.java:66) 
at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:207) 
... 29 more 
Caused by: org.apache.abdera.i18n.text.InvalidCharacterException: Invalid Character 0x5b([)

at org.apache.abdera.i18n.text.CodepointIterator$RestrictedCodepointIterator.next(CodepointIterator.java:480)

at org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:915) 
at org.apache.abdera.i18n.text.CharUtils.verify(CharUtils.java:931) 
at org.apache.abdera.i18n.iri.IRI.parseAuthority(IRI.java:614) 
... 32 more 
----------

Abdera needs to fully support RFC 2732.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message