repeatedly requesting /rules.abe

Bug reports and enhancement requests
Post Reply
AlbertMTom
Posts: 12
Joined: Wed Oct 01, 2014 2:59 am

repeatedly requesting /rules.abe

Post by AlbertMTom »

Using a tool such as the Live HTTP Headers extension (https://addons.mozilla.org/en-US/firefo ... p-headers/), and visiting such as the Wikipedia entry for NoScript (https://en.wikipedia.org/wiki/NoScript), you will see that NoScript will repeatedly request /rules.abe from bits.wikimedia.org ... this presumably has to do with the refresh header which is returned along with the 404 status code.
Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: repeatedly requesting /rules.abe

Post by barbaz »

To disable that:
NoScript Options > Advanced > Abe > un-check "Allow sites to push their own rulesets"
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:32.0) Gecko/20100101 SeaMonkey/2.29.1
AlbertMTom
Posts: 12
Joined: Wed Oct 01, 2014 2:59 am

Re: repeatedly requesting /rules.abe

Post by AlbertMTom »

I am reporting a bug. NoScript sends multiple requests for the same non-existent file during the course of a single page load.
Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: repeatedly requesting /rules.abe

Post by Giorgio Maone »

AlbertMTom wrote:I am reporting a bug. NoScript sends multiple requests for the same non-existent file during the course of a single page load.
Thank you, looking into it.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
RobertDrew
Junior Member
Posts: 32
Joined: Sun Jun 14, 2015 6:51 pm

400 Bad Request on GET /rules.abe results in repeat requests

Post by RobertDrew »

With "Allow sites to push their own rulesets" checked, when there's a 400 Bad Request response, the same request gets sent again for each object on that domain ...

Code: Select all

https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:06 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-3-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:06 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:06 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 8f3377b390b87f82f698bfe394516b55
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-10-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:06 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 8f3377b390b87f82f698bfe394516b55
x-response-time: 38
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-14-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 98f311b9c57afd0222c24b406beb1987
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-12-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 26c3ac3bfb16a5a24bb1b79dcc0cb2cd
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-14-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 7772e58793d7988c0228ff09cfdd1e28
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-9-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 645f4042f717a43210c123c83fd6a1d3
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-18-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: f7be05ae5157721b24301d4b959403f9
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-17-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: a0046508224e96436e1c222b2fcbce01
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-11-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: a0046508224e96436e1c222b2fcbce01
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-4-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 7772e58793d7988c0228ff09cfdd1e28
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-5-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 3
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-15-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
https://pbs.twimg.com/rules.abe

GET /rules.abe HTTP/1.1
Host: pbs.twimg.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive

HTTP/1.1 400 Bad Request
Date: Tue, 16 Jun 2015 13:43:07 GMT
Server: tsa_b
Cache-Control: no-cache
x-connection-hash: 59d5bfe59318ea3673856b4d96ec0bbc
x-response-time: 4
Content-Length: 0
Accept-Ranges: bytes
Via: 1.1 varnish
X-Served-By: cache-tw-iad2-cr1-4-TWIAD2
X-Cache: MISS
X-Cache-Hits: 0
Expires: Wed, 01 Jul 2015 13:43:07 GMT
x-content-type-options: nosniff
Connection: close
----------------------------------------------------------
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Post by barbaz »

already reported? viewtopic.php?f=10&t=20136
*Always* check the changelogs BEFORE updating that important software!
-
RobertDrew
Junior Member
Posts: 32
Joined: Sun Jun 14, 2015 6:51 pm

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Post by RobertDrew »

Yeah, I guess it's the same issue, that NS doesn't cache responses with codes such as 400 or 404.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
barbaz
Senior Member
Posts: 11066
Joined: Sat Aug 03, 2013 5:45 pm

Re: 400 Bad Request on GET /rules.abe results in repeat requ

Post by barbaz »

RobertDrew wrote:Yeah, I guess it's the same issue, that NS doesn't cache responses with codes such as 400 or 404.
Thanks, merged.
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply