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

Custom theme doesn't secure layout tpl files

    Details

      Description

      Steps to reproduce:

      1. Create custom theme with sdk
      2. Deploy

      Check \theme\WEB-INF\liferay-web.xml
      Should exist a TPL filter but it doesn't. If tpl filter it's putted in liferay-web.xml at deploy engine will rewrite xml and will remove filter.

      This filter need to be:

      <filter>
      <filter-name>Ignore Filter - TPL</filter-name>
      <filter-class>com.liferay.portal.kernel.servlet.PortalClassLoaderFilter</filter-class>
      <init-param>
      <param-name>filter-class</param-name>
      <param-value>com.liferay.portal.servlet.filters.ignore.IgnoreFilter</param-value>
      </init-param>
      </filter>

      <filter-mapping>
      <filter-name>Ignore Filter - TPL</filter-name>
      <url-pattern>*.tpl</url-pattern>
      </filter-mapping>

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            adriansteuerhaus Adrian Dumitroaia (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 9 weeks, 5 days ago

                Packages

                Version Package
                6.2.0 CE M4