Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8688

Accomodate some RFC 3986 checks to filter out invalid URIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.6, 3.5.3
    • 3.5.3, 3.4.8, 4.0.0
    • None
    • None
    • Unknown

    Description

      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:

       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

       

      Attachments

        Issue Links

          Activity

            People

              reta Andriy Redko
              reta Andriy Redko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: