Uploaded image for project: '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



      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



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


                • Created:
                  Days since last comment:
                  4 years, 28 weeks, 3 days ago