Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-488

RESTEasy Client PathParam encoding with "/"

    XMLWordPrintable

Details

    Description

      The "/" character isn't escaped when used in a PathParam value.

      For example :

      @GET
      @Path("

      {name}

      ")
      VHost getVHost(@PathParam("name") String name);

      A call to getVHost("/myVHost") goes to http://server//myVHost instead of http://server/%2FmyVHost

      Attachments

        Activity

          People

            rsigal@redhat.com Ronald Sigal
            Makkhdyn Colin Hebert (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: