DescriptionCurrently StyleTagProxyEmbeddedUrlsRewriter uses the featureConfigFactory to fetch the gadget spec.
However, since accel html web pages don't really have a gadget (In AccelHandler.getProxyUri(), we create a dummy gadget object based on the original HttpRequest object and set its url to the html page being rendered), feature config factory ends up fetching the content of html web page again, rewrites it and falls back to default config since its not able to parse it as gadget xml.
Hence this change allows us to directly use default config for the StyleTagProxyEmbeddedUrlsRewriter (which is an accel specific rewriter).
Patch Set 1 #
MessagesTotal messages: 6
|
|||||||||||||||||||