Gadget URI value incorrect on rewritten URLs and on Gadget blacklist call
-------------------------------------------------------------------------
Key: SHINDIG-1613
URL: https://issues.apache.org/jira/browse/SHINDIG-1613
Project: Shindig
Issue Type: Bug
Components: Java
Affects Versions: 3.0.0
Reporter: Brian Lillie
Priority: Minor
Fix For: 3.0.0
There are at least two cases where a URI is presented as a Gadget URI and is
rather a URI based upon an incoming request.
1) When a resource such as a CSS file is loaded and has the links/URLs
rewritten, the gadget parameter supplied on the rewritten link contains a URI
associated with the resource requested, rather than the gadget associated with
the request
2) When a request is made to the Gadget Blacklist, the URI parameter may not
represent the intended gadget, but rather a random resource
With both of thse instances, the common pattern is that the
DomWalker.makeGadget( HttpRequest ) is called, and the returned GadgetContext
uses the request URI, rather than the Gadget URI.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira