Reviewers: dev, jcian, Paul Lindner, zhoresh, mhermanto

Description:

This is a followup change (following already committed change
http://codereview.appspot.com/2004042/). The goal is to pass on the correct
gadget context (which includes container) throughout the path of request
serving.

Current CajaCssSanitizer does not make use of the current gadget container
information because it is using only the url of the resource to be proxied
for
generating the proxy uri. This change passes the gadgetContext all the way
so
that the correct container can be used to generate the proxy uri.

Please review this at http://codereview.appspot.com/2045041/

Affected files:
 M
 
java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/caja/CajaCssSanitizer.java
 M
 
java/gadgets/src/main/java/org/apache/shindig/gadgets/render/SanitizingGadgetRewriter.java
 M
 
java/gadgets/src/main/java/org/apache/shindig/gadgets/render/SanitizingResponseRewriter.java
 M
 
java/gadgets/src/test/java/org/apache/shindig/gadgets/parse/caja/CajaCssSanitizerTest.java
 M
 
java/gadgets/src/test/java/org/apache/shindig/gadgets/rewrite/CssResponseRewriterTest.java


Thanks
Gagan

Reply via email to