[ 
https://issues.apache.org/struts/browse/WW-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47093#action_47093
 ] 

Leonard Broman commented on WW-3334:
------------------------------------

It seems s:url is more broken than this, although only in the container.

I try to create an URL like for youtube embedding:
<s:url var="movieUrl" value="%{'http://www.youtube.com/v/'+movieId}"  >
                <s:param name="color1" value="'0xE2EAED'"/>
                <s:param name="color2" value="'0xE2EAED'"/>
                <s:param name="hl" value="'sv_SE'" />
                <s:param name="fs" value="'1'" />
        </s:url>

Which works fine in the webapp. However, as a portlet it gives back this:
/youtube-portlet/%{'http://www.youtube.com/v/'+movieId}?color1=0xE2EAED&color2=0xE2EAED&hl=sv_SE&fs=1

here the value parameter does not seem to be evaluated...

> s:url does not escapeAmp
> ------------------------
>
>                 Key: WW-3334
>                 URL: https://issues.apache.org/struts/browse/WW-3334
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Portlet
>    Affects Versions: 2.1.8
>         Environment: Discovered on Sitevision
>            Reporter: Leonard Broman
>
> s:url does not escape & entities. And the parameter escapeAmp has no effect 
> whatsoever.

-- 
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