abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse (JIRA)" <j...@apache.org>
Subject [jira] Closed: (ABDERA-72) IRI Escaping and toString()
Date Thu, 17 Apr 2008 21:15:26 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Diephouse closed ABDERA-72.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4.0

This was fixed long ago.

> IRI Escaping and toString()
> ---------------------------
>
>                 Key: ABDERA-72
>                 URL: https://issues.apache.org/jira/browse/ABDERA-72
>             Project: Abdera
>          Issue Type: Improvement
>    Affects Versions: 0.3.0
>            Reporter: Dan Diephouse
>             Fix For: 0.4.0
>
>
> From my message on the mailing list. This is failing for me:
> IRI iri = new IRI("./bar%20baz");
> assertEquals("./bar%20baz", iri.toString());
> IRI iri2 = new IRI("http://foo.com").resolve(iri);
> assertEquals("http://foo.com/foo/bar%20baz", iri.toString()); // This is what I was expecting
> The actual string on the last one is "http://foo.com/foo/bar baz". It makes using the
abdera client a little tricky as I can't just resolve() my href, then pass off the iri2.toString()
to the client. 
> From James:
> Try iri.toASCIIString(). I agree it's a little odd. I've been wanting to
> refactor the IRI class impl at some point.

-- 
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