[
https://issues.apache.org/jira/browse/TAPESTRY-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466349
]
Jesse Kuhnert commented on TAPESTRY-1218:
-----------------------------------------
Yeah, but I don't think that's where we disagree. . Even if you do "view page
source" on one of these JIRA pages you'll find that & symbols in href url query
sections are visually seen as & - which is exactly how AjaxShellDelegate
renders the symbols. If you actually saw the character string rendered in html
source as "&" the url would be invalid.
So, again....I'm not seeing what is broken here.
> URL to dojo.js is not escaped
> -----------------------------
>
> Key: TAPESTRY-1218
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1218
> Project: Tapestry
> Issue Type: Bug
> Components: XHR/dhtml/Ajax
> Affects Versions: 4.1.1
> Environment: WinXP. FireFox 2.0.
> Reporter: Kent Tong
> Fix For: 4.1.2
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]