Page 1 of 1
[RESOLVED] Image from other domain not visible
Posted: Tue Oct 06, 2015 8:44 am
by Olaf
Hello,
on my site mysite.com I have images from my and from other sites:
Code: Select all
<img src="http://mysite.com/image.jpg">
<img src="http://othersite.com/image.jpg">
The first image is shown, the second not (with NoScript enabled). How can I show the second image without disabling NoScript?
Olaf
Re: Image from other domain not visible
Posted: Tue Oct 06, 2015 2:00 pm
by therube
Allow othersite.com?
Otherwise is there anything related in Error Console (Ctrl+Shift+J)?
Re: Image from other domain not visible
Posted: Tue Oct 06, 2015 2:02 pm
by Guest
no, this has no effect (I tried this at first)
Re: Image from other domain not visible
Posted: Tue Oct 06, 2015 2:51 pm
by barbaz
That's odd... please post the following information:
1) DNS lookup of othersite.com from the machine having the issue
2) Request and response headers for the failing request (obviously, disable NoScript to get this)
Re: Image from other domain not visible
Posted: Wed Oct 07, 2015 7:20 am
by Olaf
Hello,
thanks for having a look at this. I just found this message in the console
Code: Select all
[ABE] <LOCAL> Deny on {GET http://download.othersite.com/ffk/color.png <<< http://www.mysite.com/test.html - 3}
SYSTEM rule: Site LOCAL Accept from LOCAL Deny
I don't know why I haven't seen it yesterday. I now added a rule, but with no luck:
Code: Select all
# User-defined rules. Feel free to experiment here.
Site download.othersite.com
Accept ALL from download.othersite.com
Deny
Am I missing something?
Olaf
Re: Image from other domain not visible
Posted: Wed Oct 07, 2015 2:26 pm
by barbaz
Yes, overriding the SYSTEM rule has to be placed above it in SYSTEM. It thinks that othersite is LOCAL...
If that is unexpected at all, please do a DNS lookup of othersite as above before adding an exception.
Anyway, this is probably the exception you need:
Code: Select all
Site download.othersite.com
Accept from .mysite.com
Re: Image from other domain not visible
Posted: Thu Oct 08, 2015 6:54 am
by Olaf
Yes, this works.
Thanks,
Olaf