[FIXED]ABE incorrectly thinks most requests are type "other"

Bug reports and enhancement requests
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: [e10s] ABE incorrectly thinks most requests are type "ot

Post by Giorgio Maone »

Giorgio Maone wrote:surely discriminating MEDIA and FONT is more useful. Sigh.
In latest development build 5.0.8rc6, thanks.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: [e10s] ABE incorrectly thinks most requests are type "ot

Post by barbaz »

LGTM, many thanks for getting this sorted! Image
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: [FIXED]ABE incorrectly thinks most requests are type "ot

Post by barbaz »

PLD pointed out to me that INC(OTHER) now matches TYPE_XBL and TYPE_PING. I did some testing, this wasn't the case before.

Given that the browser blocks PING by default, and allowing XBL requires an addon, I would doubt this change matters. But for those who need the distinction, you can do something like

Code: Select all

Accept INC(PING, XBL)
Deny INC(OTHER)
*Always* check the changelogs BEFORE updating that important software!
-
PLD
Junior Member
Posts: 30
Joined: Fri May 08, 2015 7:00 am

Re: [FIXED]ABE incorrectly thinks most requests are type "ot

Post by PLD »

Something else. With 2.9.5.3, an attempt to do this:

Code: Select all

Site ALL
Deny INC(NEWTYPE)
will be rejected because NEWTYPE isn't recognized. However, it looks like 5.0.8.1 will accept that rule.

Wondering out loud: What would happen if TYPE_NEWTYPE was added to nsIContentPolicy types? How would the existing code react to that scenario, if NS 5.0.8.1 were installed in such a browser? Would TYPE_NEWTYPE be added to the types matched by OTHER? Would the request processing and various accept/deny INC(NEWTYPE) rules work

Code: Select all

Site ALL
Accept INC(NEWTYPE)
Deny INC(OTHER)
when NoScript doesn't actually know what TYPE_NEWTYPE is?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Post Reply