You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/04/18 17:03:00 UTC

[jira] [Resolved] (CXF-8688) Accomodate some RFC 3986 checks to filter out invalid URIs

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

Andriy Redko resolved CXF-8688.
-------------------------------
    Resolution: Fixed

> 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
>    Affects Versions: 3.4.6, 3.5.3
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.0, 3.5.3, 3.4.8
>
>
> The Java's URI is not compliant with RFC 3986 (https://www.ietf.org/rfc/rfc3986.txt) and as such, some invalid URIs sneak in, failing the TCK test cases:
> {noformat}
>  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{noformat}
> See please [https://bugs.openjdk.java.net/browse/JDK-8019345]
>  



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