You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Scott O'Bryan (JIRA)" <ad...@incubator.apache.org> on 2006/12/04 00:23:22 UTC

[jira] Updated: (ADFFACES-231) URL Encoding

     [ http://issues.apache.org/jira/browse/ADFFACES-231?page=all ]

Scott O'Bryan updated ADFFACES-231:
-----------------------------------

    Attachment: 5-ADFFACES-231.patch

This file fixes some issues with the previous encoding work.  The following issues are fixed:

1. StyleSheetRenederer was encoding the stylesheet using an encodeActionURL.  This has been changed to encodeResourceURL since a stylesheet is a resource.

2. The XhtmlUtls were encoding the url of the javascript file only when in a servlet environment.  This has been changed to encode the url at all times, especially in a remote portal environment where this encoding will prevent all navigation.

> URL Encoding
> ------------
>
>                 Key: ADFFACES-231
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-231
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Portlet
>         Environment: JSR-168
>            Reporter: Scott O'Bryan
>         Attachments: 3-ADFFACES-231.patch, 5-ADFFACES-231.patch
>
>
> All url's from the server need to be run through encodeResourceURL or encodeActionURL before they are sent to the client.  There are many places where this is not done.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira