EncodeResource url improperly recognizes non context path encoded  urls 
beginning with / as being an internal url
-----------------------------------------------------------------------------------------------------------------

                 Key: PORTLETBRIDGE-215
                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-215
             Project: MyFaces Portlet Bridge
          Issue Type: Bug
            Reporter: Michael Freedman
            Assignee: Michael Freedman


If you have an url that is passed to encodeResourceUrl which begins 
/foo/bar.jpg  where /foo isn't this applications context-path, the bridge 
recognizes this url as a internal app url and prefixs it with the context-path. 
 However, because JSF doesn't do auto-context path appending the above url is 
invalid in regular (serlvet) JSF as its neither relative to the current page 
nor the current server.  Hence all resource urls that begin with / should be 
seen as external urls -- i.e. assumed to be urls that are full path (including 
the context-path) to another application in this server.

As ADF's GoLink uses encodeActionUrl for its targets -- we should also review 
and consider correct behavior there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to