Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1938

Bug with multiple s:param tags inside s:url tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.0.10, 2.1.0
    • None
    • None
    • Important

    Description

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cashmar Pavel Rodionov
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: