ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Bug reports and enhancement requests
Post Reply
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by al_9x »

when the iframe is DNS cached

Code: Select all

Site http:
Anon INC from https:
Load this via https:

Code: Select all

<iframe src="http://example.org"></iframe>
Fx 3.6.12, NS 2.0.5.1

Before http://example.org is DNS cached, everything is fine, the iframe is blocked, the Anon rule is not triggered, and the page has a secure status.

But if http://example.org is loaded first, when loading the test page:
  1. you can see the iframe briefly load, then get replaced by the placeholder
  2. the iframe request makes it out to the network
  3. Anon rule is triggered twice (error console)
  4. page ends up with a mixed status
Last edited by al_9x on Fri Nov 12, 2010 12:17 pm, edited 1 time in total.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by Giorgio Maone »

Investigating, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by al_9x »

If the iframe is loaded by ip:

Code: Select all

<iframe src="http://192.0.32.10/"></iframe>
the problem manifests immediately, on first load of the secure page, since no dns caching is needed
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by Giorgio Maone »

Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
al_9x
Master Bug Buster
Posts: 931
Joined: Thu Mar 19, 2009 4:52 pm

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by al_9x »

Giorgio Maone wrote:Fixed in latest development build.
Confirmed, but, when the iframe is included by ip, ABE reacts even though this request never happens. I believe a similar thing happens with the XSS filter, which also reacts to blocked requests. Can you, in these cases, kind of "look ahead" and not bother with requests that will be blocked?

Also, please look at this.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
User avatar
Giorgio Maone
Site Admin
Posts: 9527
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Post by Giorgio Maone »

al_9x wrote: Can you, in these cases, kind of "look ahead" and not bother with requests that will be blocked?
Unfortunately no.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
Post Reply