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

Joerg Hoh closed SLING-13030.
-----------------------------

> SlingUriBuilder doesn't correctly parse an URI containing a scheme and host
> ---------------------------------------------------------------------------
>
>                 Key: SLING-13030
>                 URL: https://issues.apache.org/jira/browse/SLING-13030
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>    Affects Versions: API 3.0.2
>            Reporter: Robin Brouns
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: API 3.0.4
>
>
> There seems to be an issue with the SlingUriBuilder when parsing an URI 
> containing just a scheme and a host. 
> When parsing for example the test URL 
> [https://sling.apache.org|https://sling.apache.org/] via:
>  
> {code:java}
> SlingUriBuilder.parse("https://sling.apache.org";, null).build()
>     .toUri()
>     .toASCIIString(); {code}
>  
> the result is [https://sling.apache.org//sling.apache.org] instead of the 
> expected outcome [https://sling.apache.org|https://sling.apache.org/]



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to