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

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

                Author: ASF GitHub Bot
            Created on: 20/Oct/24 09:05
            Start Date: 20/Oct/24 09:05
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart merged PR #1067:
URL: https://github.com/apache/struts/pull/1067




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

    Worklog Id:     (was: 939039)
    Time Spent: 0.5h  (was: 20m)

> Rename tag's parameters into attributes
> ---------------------------------------
>
>                 Key: WW-5465
>                 URL: https://issues.apache.org/jira/browse/WW-5465
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 7.0.0
>
>          Time Spent: 0.5h
>  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