Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74825

Path filtering should only be applied to request with dispatching type ASYNC and REQUEST

    Details

      Description

      Using RequestDispatcher.forward("/WEB-INF/jsps/view.jsp") from portlet fails on [WAB ERROR] Attempt to load illegal path /WEB-INF/jsps/view.jsp in CustomServletContextHelper[sample-jsp-portlet_7.0.0.1[575]].

      Liferay implemented ServletContextHelper to filer path in a request to avoid certain resources to be accessed directly from browser. This filtering should only be applied to DispatcherType.ASYNC and DispatcherType.REQUEST. INCLUDE and FORWARD can't be directly fired from browser.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brian.chan Brian Chan
                Reporter:
                dante.wang Dante Wang
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 51 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP32
                  7.0.5 CE GA6
                  7.0.X
                  7.1.X
                  Master