tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Commented: (TAPESTRY-1218) URL to dojo.js is not escaped
Date Tue, 23 Jan 2007 01:53:49 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466618
] 

Jesse Kuhnert commented on TAPESTRY-1218:
-----------------------------------------

I'm not sure how much of an impact that is. How many people run their apps inside the w3c
validator? 

If something were broken in an actual web browser I would be more concerned, but as it stands
now I've made a first pass at "fixing" it but have not been able to yet so again should say
that if anyone feels strongly about it they are free to give it a go but I'm too busy to play
to the petty w3c validator gods right now.


> 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&amp;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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message