Robin Brouns created SLING-13030:
------------------------------------

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


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` via:

```java
SlingUriBuilder.parse("https://sling.apache.org";, null).build()

    .toUri()
    .toASCIIString();
```

the result is `https://sling.apache.org//sling.apache.org` instead of the 
expected outcome `



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to