You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/11/01 08:50:00 UTC

[jira] [Work logged] (WW-5476) Mark tags attributes as deprecated

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

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

                Author: ASF GitHub Bot
            Created on: 01/Nov/24 08:49
            Start Date: 01/Nov/24 08:49
    Worklog Time Spent: 10m 
      Work Description: kusalk opened a new pull request, #1105:
URL: https://github.com/apache/struts/pull/1105

   WW-5476
   --




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

    Worklog Id:     (was: 941325)
    Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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)