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

Andriy Redko updated CXF-8688:
------------------------------
    Description: 
The Java's URI is not compliant with RFC 3986 and as such, some invalid URIs 
sneak in, failing the TCK test cases:

```
Test case throws exception: No exception has been thrown for link <http://:@>

    
[com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone.jtr):
 JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone
    
[com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildObjectsThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone.jtr):
 JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone

Test case throws exception: UriBuilderException has not been thrown, link= 
<http://@>

    
[com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildRelativizedThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone.jtr):
 JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone
```

See please https://bugs.openjdk.java.net/browse/JDK-8019345

> Accomodate some RFC 3986 checks to filter out invalid URIs
> ----------------------------------------------------------
>
>                 Key: CXF-8688
>                 URL: https://issues.apache.org/jira/browse/CXF-8688
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>
> The Java's URI is not compliant with RFC 3986 and as such, some invalid URIs 
> sneak in, failing the TCK test cases:
> ```
> Test case throws exception: No exception has been thrown for link <http://:@>
>     
> [com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildNoArgsThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone.jtr):
>  JAXRSClient_buildNoArgsThrowsUriBuilderExceptionTest_from_standalone
>     
> [com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildObjectsThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone.jtr):
>  JAXRSClient_buildObjectsThrowsUriBuilderExceptionTest_from_standalone
> Test case throws exception: UriBuilderException has not been thrown, link= 
> <http://@>
>     
> [com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient.java#buildRelativizedThrowsUriBuilderExceptionTest_from_standalone](https://ci-builds.apache.org/tmp/JTwork/com/sun/ts/tests/jaxrs/api/rs/core/linkbuilder/JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone.jtr):
>  JAXRSClient_buildRelativizedThrowsUriBuilderExceptionTest_from_standalone
> ```
> See please https://bugs.openjdk.java.net/browse/JDK-8019345



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to