portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (APA-54) WebContent - NPE when a reverse proxied URL is through RequestDispatcher#include()
Date Thu, 16 Jan 2014 16:02:38 GMT
Woonsan Ko created APA-54:
-----------------------------

             Summary: WebContent - NPE when a reverse proxied URL is through RequestDispatcher#include()
                 Key: APA-54
                 URL: https://issues.apache.org/jira/browse/APA-54
             Project: Portals Apps
          Issue Type: Bug
    Affects Versions: apa-webcontent-1.3
            Reporter: Woonsan Ko
            Assignee: Woonsan Ko
             Fix For: apa-webcontent-1.4


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message