> > OK. Do you get a NewChannel call for the image URI in question? >
Nope. I just tested everything to re-confirm. Here is how my test html file looks - <html> <body> <br/> <script language="JavaScript" type="text/javascript" src="/external.js"></script> <img src="/apache_pb.gif"> It works ! <br/> </body> </html> I see that for both "/external.js" and "/apache_pb.gif" requests, none of the methods of my custom class are invoked. But the page loads appropriately so the request is going to the server. And the server's access log confirms that it is receiving both the requests. When I tried using the complete paths, like - <html> <body> <br/> <script language="JavaScript" type="text/javascript" src="https://localhost/external.js"></script> <img src="https://localhost/apache_pb.gif"> It works ! <br/> </body> </html> The NewChannel() method gets called for both the requests and hence the encryption/decryption works as expected. In the earlier scenario, it seems that Mozilla handles it internally and it never reaches the custom channel/handler classes. Thanks, Maya. _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
