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

UriBuilder does not encode path segments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Beta 6
    • Beta 5
    • jaxrs
    • None

      return Response.created(
      UriBuilder.fromResource(CustomerService.class)
      .path("foo+bar")
      .encode(true)
      .build()
      ).build();

      Returns the Location header as: http://localhost/rest/customer/foo+bar

      Expected: http://localhost/rest/customer/foo%2bbar

            patriot1burke@gmail.com Bill Burke (Inactive)
            christian.bauer_jira Christian Bauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: