PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37706

Provide switch to turn on/off unnamespaced parameters filter logic for portlets

    Details

    • Similar Issues:
      Show 5 results 

      Description

      We were only exposing namespaced parameters to portlets, but due to a side affect to support public render parameter, we exposed unnamespaced parameters to portlets too.

      Because servlet spec only requires parameters with same name to be strictly ordered, for different names, they can be any order(hash code based). If a namespaced and unnamespaced parameters are both sending to a portlet, after removing the namespace, the two parameters will have same name, if it happens the unnamespaced one comes after the namespaced one, the correct parameter value will be overwrite.

      So in LPS-35309 we restrict only namespaced parameter can be accessed by portlets, but considering this will break exist third part plugins, we provide a per portlet based switch to turn on/off this filtering logic.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 40 weeks, 4 days ago

                Development

                  Structure Helper Panel