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

InternalDispatcher builds corrupt UriInfo on forward

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Major Major
    • 2.3-beta-1
    • 2.0.1.GA, 2.2.0.GA, 2.2.1
    • jaxrs
    • None

      If a forward is performed via one of the methdos of InternalDispatcher, the invoked resource method gets an invalid UriInfo object injected.

      Reason: The UriInfo that is used inside the MockHttpRequest used by InternalDispatcher does not have the correct base URI set. That's because MockHttpRequest.create(String httpMethod, String uri) uses the given (relative) URI as absolute request URI as well as base URI.

              patriot1burke@gmail.com Bill Burke (Inactive)
              winterer_jira Mario Winterer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: