[ 
https://issues.apache.org/struts/browse/WW-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41629
 ] 

Aram Mkhitaryan commented on WW-1938:
-------------------------------------

I think the parameters should always be escaped 
and the separator ampersands should never be escaped
and there is no need to add the additional attribute to enable or disable the 
escaping

> Bug with multiple  s:param tags inside s:url tag
> ------------------------------------------------
>
>                 Key: WW-1938
>                 URL: https://issues.apache.org/struts/browse/WW-1938
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6
>            Reporter: Pavel Rodionov
>            Assignee: James Holmes
>             Fix For: 2.0.10
>
>
>  <s:url id="urlFlash" action="viewFlash" includeParams="none" >
>         <s:param name="blogid" value="%{blogId}"/>
>         <s:param name="haaa" value="111"/>
>     </s:url>
> Following construction generate strange url 
> http://10.2.1.25:8081/CommentSystemWebApp/viewFlash.action?blogid=4&amp;amp;haaa=111
> Look at "amp;amp;" it's like encoding ampersand '&'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to