Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 8401061: Added handling of $sitekey exceptions (Closed)

Created:
Sept. 24, 2012, 6:15 a.m. by Wladimir Palant
Modified:
Sept. 25, 2012, 6:38 p.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

Removed DNT support for better performance; Implemented more or less proper URI parsing; Implemented exceptions via @@*$sitekey=foobar rules (website has to send the same RSA key and a valid signature in X-Adblock-Key header)

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -28 lines) Patch
M lib/basedomain.js View 1 1 chunk +93 lines, -16 lines 0 comments Download
M manifest.json View 1 chunk +2 lines, -2 lines 0 comments Download
M qunit/tests/baseDomain.js View 1 chunk +99 lines, -1 line 0 comments Download
M webrequest.js View 3 chunks +53 lines, -9 lines 0 comments Download

Messages

Total messages: 6
Wladimir Palant
Sept. 24, 2012, 6:15 a.m. (2012-09-24 06:15:57 UTC) #1
Felix Dahlke
http://codereview.adblockplus.org/8401061/diff/1/lib/basedomain.js File lib/basedomain.js (right): http://codereview.adblockplus.org/8401061/diff/1/lib/basedomain.js#newcode168 lib/basedomain.js:168: this.spec = spec; Shouldn't this be this._spec? Seems to ...
Sept. 25, 2012, 12:40 p.m. (2012-09-25 12:40:53 UTC) #2
Wladimir Palant
I only addressed one of the comments, see below concerning the other ones. http://codereview.adblockplus.org/8401061/diff/1/lib/basedomain.js File ...
Sept. 25, 2012, 2:09 p.m. (2012-09-25 14:09:41 UTC) #3
Felix Dahlke
> http://codereview.adblockplus.org/8401061/diff/1/lib/basedomain.js#newcode173 > lib/basedomain.js:173: if (spec[this._schemeEnd + 1] != "/" || > spec[this._schemeEnd + 2] ...
Sept. 25, 2012, 2:18 p.m. (2012-09-25 14:18:31 UTC) #4
Felix Dahlke
> http://codereview.adblockplus.org/8401061/diff/1/lib/basedomain.js#newcode173 > lib/basedomain.js:173: if (spec[this._schemeEnd + 1] != "/" || > spec[this._schemeEnd + 2] ...
Sept. 25, 2012, 2:19 p.m. (2012-09-25 14:19:16 UTC) #5
Felix Dahlke
Sept. 25, 2012, 2:24 p.m. (2012-09-25 14:24:26 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld