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

Brad Moody closed ABDERA-181.
-----------------------------

    Resolution: Invalid

Please ignore, I got confused between ? and &. Doh.

> Abdera converts "?" IRI query delimeter in links to "&"
> -----------------------------------------------------------
>
>                 Key: ABDERA-181
>                 URL: https://issues.apache.org/jira/browse/ABDERA-181
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>         Environment: Sun JRE 1.5.0_11
> Win XP Pro
>            Reporter: Brad Moody
>
> org.apache.abdera.i18n.iri.IRI line 146:
>     a_query = UrlEncoding.encode(query,Profile.QUERY.filter(), 
> Profile.PATH.filter());
> This causes the "?" query delimeter to be converted to "&".
> Technical argument:
> According to rfc4287
>    The "href" attribute contains the link's IRI. atom:link elements MUST
>    have an href attribute, whose value MUST be a IRI reference
>    [RFC3987].
> According to rfc3987 "?" is valid:
>    IRI            = scheme ":" ihier-part [ "?" iquery ]
>                          [ "#" ifragment ]
> Personally:
> I get link hrefs as http://host/path&param=value when what I need is 
> http://host/path?param=value
> Cheers,
> Brad.

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

Reply via email to