[ 
https://issues.apache.org/jira/browse/WW-5476?focusedWorklogId=940037&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-940037
 ]

ASF GitHub Bot logged work on WW-5476:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Oct/24 06:29
            Start Date: 25/Oct/24 06:29
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request, #1096:
URL: https://github.com/apache/struts/pull/1096

   WW-5476
   --
   
   Uses `attributes` instead of `parameters` in tags




Issue Time Tracking
-------------------

            Worklog Id:     (was: 940037)
    Remaining Estimate: 0h
            Time Spent: 10m

> Mark tags attributes as deprecated
> ----------------------------------
>
>                 Key: WW-5476
>                 URL: https://issues.apache.org/jira/browse/WW-5476
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Tags
>            Reporter: Lukasz Lenart
>            Priority: Major
>             Fix For: 6.7.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Tag's parameters can be confused with HttpParameters, but these are two 
> different things and shouldn't be mixed up due to security reasons.
> Using "attributes" instead of "parameters" can allow to distinguish these two 
> sets of data.
> Once introduced templates should use "attributes.${attrName}" instead of 
> "parameters.${paramName}", eg.:
> {code:java}
> <#if attributes.id??>
>  id="${attributes.id}"<#rt/>
> </#if> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to