Uploaded image for project: 'Portals Apps (Retired)'
  1. Portals Apps (Retired)
  2. APA-54

WebContent - NPE when a reverse proxied URL is through RequestDispatcher#include()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • apa-webcontent-1.3
    • apa-webcontent-1.4
    • None
    • None

    Description

      The reverse proxy feature [1] doesn't work when a url is included through RequestDispatcher#include().
      For example, the following throws an NPE because request#getPathInfo() returns null.

      <jsp:include page="/rproxy/portals/index.html" />

      It should have checked request attributes like the following:
      javax.servlet.include.request_uri
      javax.servlet.include.context_path
      javax.servlet.include.servlet_path
      javax.servlet.include.path_info
      javax.servlet.include.query_string

      [1] http://portals.apache.org/applications/webcontent/rproxy.html

      Attachments

        Activity

          People

            woon_san Woonsan Ko
            woon_san Woonsan Ko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: