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

              brian.chan Brian Chan
              dante.wang Dante Wang
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 12 weeks, 1 day ago

                Packages

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