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

Exception when SOAP service URI contains whitespace

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.11
    • 3.2.9, 3.3.2
    • Transports
    • None
    • Unknown

    Description

      To reproduce:

      1. Create SOAP service and configure service URI so that it contains spaces, e.g. http://localhost:8080/service/Resource AsService
      2. Try to access the service.

      When accessing the service, following exception is thrown:

      java.lang.IllegalArgumentException: Illegal character in path at index 38: http://localhost:8080/service/Resource AsService
          at java.net.URI.create(Unknown Source)
          at org.apache.cxf.transport.servlet.ServletDestination.getBasePath(ServletDestination.java:75)"
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ffang Freeman Yue Fang
            Bogatyrov Vladimir Bogatyrov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment