Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1218

URL to dojo.js is not escaped

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 4.1.1
    • 4.1.2
    • XHR/dhtml/Ajax
    • None
    • WinXP. FireFox 2.0.

    Description

      The AjaxShellDelegate generates code like:

      <script type="text/javascript" src="/AJAXApp/app?service=asset&path=%2Fdojo%2Fdojo.js"></script>

      but the & is not escaped. It should be:

      <script type="text/javascript" src="/AJAXApp/app?service=asset&path=%2Fdojo%2Fdojo.js"></script>

      I think http://jakarta.apache.org/commons/codec/apidocs/org/apache/commons/codec/net/URLCodec.html should be used in the render() method in AjaxShellDelegate.

      Attachments

        Activity

          People

            Unassigned Unassigned
            freemant Kent Tong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: