Louis,

.prevButton{ background:transparent url(modulet_shared_sprite.gif) no-repeat -0pt -50px; width:20px !important;}

It does hit CssRewriter.rewrite(r, source, createLinkRewriter(spec, rewriterFeature), w); - line 176 of DefaultContentRewriter.

I do see CssRewriter is calling rewriteLink - line 62 and

I see that in ProxyLinkRewriter  - line 66 - result variable has

http://vijis.jgc.aol.com/gadgets/proxy?url=http%3A%2F%2Fstartpagedev-03.my.aol.com%2Fgd%2FdynamicLead%2F*modulet_shared_sprite.gif*&gadget=http%3A%2F%2Fstartpagedev-03.my.aol.com%2Fgd%2FdynamicLead%2FdynamicLead.xml&fp=-182800334&refresh=86400

But by the time, I reach DefaultContentRewriterRegistry - line 77, i see that the rewrittenContent doesn't have the above rewritten url, it still has
url(modulet_shared_sprite.gif)

DefaultContentRewriterRegistry.rewriteHttpResponse(HttpRequest, HttpResponse) line: 77 Thread [TP-Processor6] (Suspended (breakpoint at line 77 in DefaultContentRewriterRegistry)) DefaultContentRewriterRegistry.rewriteHttpResponse(HttpRequest, HttpResponse) line: 77 ProxyHandler.fetch(HttpServletRequest, HttpServletResponse) line: 125 ProxyServlet.doGet(HttpServletRequest, HttpServletResponse) line: 51 ProxyServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse) line: 690 ProxyServlet(HttpServlet).service(ServletRequest, ServletResponse) line: 803 ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse) line: 290 ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 206 StandardWrapperValve.invoke(Request, Response) line: 233 StandardContextValve.invoke(Request, Response) line: 175 StandardHostValve.invoke(Request, Response) line: 128 ErrorReportValve.invoke(Request, Response) line: 102 StandardEngineValve.invoke(Request, Response) line: 109 CoyoteAdapter.service(Request, Response) line: 263 JkCoyoteHandler.invoke(Msg, MsgContext) line: 190 HandlerRequest.invoke(Msg, MsgContext) line: 283 ChannelSocket.invoke(Msg, MsgContext) line: 767 ChannelSocket.processConnection(MsgContext) line: 697 ChannelSocket$SocketConnection.runIt(Object[]) line: 889 ThreadPool$ControlRunnable.run() line: 690 ThreadWithAttributes(Thread).run() line: 619
Louis Ryan wrote:
Sorry early-send.

Can you do a little debugging for this? Specifically check that
CssRewriter.rewrite is calling rewriteLink (line 62) with the expected
content and that its outputting correctly. If you cant please file a JIRA
ticket and include the reproducible sample and Ill take a look.

Thanks for looking into this.

On Wed, Oct 22, 2008 at 10:47 AM, Louis Ryan <[EMAIL PROTECTED]> wrote:

Can you do a little debugging for this. Specifically check that
CssRewriter.rewriter is calling

On Tue, Oct 21, 2008 at 5:30 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:

What's the gadget url?

The most likely reason for skipping this would be because it's not in the
include / exclude list.

Louis wrote the link rewriter and has put a lot of work into it, maybe he
can shed some light here.

On Tue, Oct 21, 2008 at 5:27 PM, Viji Subramanian <
[EMAIL PROTECTED]> wrote:

 Kevin

I checked out the latest shindig code (well.. oct 6th revision)

I find that the url in CSS are not getting rewritten to absolute paths
..
I see that the CssRewriter rewrites the path - but the final
mutableContent
that I get doesn't have the rewritten path.

For example .prevButton{ background:transparent *
url(modulet_shared_sprite.gif)* no-repeat -0pt -50px; width:20px
!important;}

The url above should get rewritten to *url(

http://vijis.jgc.aol.com/gadgets/proxy?url=http%3A%2F%2Fstartpagedev-03.my.aol.com%2Fgd%2FdynamicLead%2Fmodulet_shared_sprite.gif&gadget=http%3A%2F%2Fstartpagedev-03.my.aol.com%2Fgd%2FdynamicLead%2FdynamicLead.xml&fp=-182800334&refresh=86400
)
*
When I use firebug to see the css file that the proxy fetches shows, the
content of the css file shows just url(*modulet_shared_sprite.gif)  -* I
don't see the rewritten path.  So when browser fetches this image,  it
fails
with a 404.

Do u have any idea at the outset as to why the url's are not getting
rewritten correctly ?

Thanks for your help

Viji.
*
*



Reply via email to