Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Fix broken politico.com ruleset and add tests; fixes #9000 - #9518

Merged
J0WI merged 3 commits into
EFForg:masterfrom
deutrino:politico
Oct 1, 2017
Merged

J0WI merged 3 commits into
EFForg:masterfrom
deutrino:politico

Conversation

@deutrino

Copy link
Copy Markdown
Contributor

This fixes #9000

@Hainish Hainish added the top-1k label Apr 12, 2017
@J0WI

J0WI commented Apr 13, 2017

Copy link
Copy Markdown
Contributor

see also #9361

Comment thread src/chrome/content/rules/Politico.xml Outdated
<test url="http://www.politico.com/magazine/" />
<test url="http://www.politico.com/magazine/story/2014/01/waterboarding-cia-lawyer-john-rizzo-torture-101758" />

<exclusion pattern="^http://(?:www\.)?politico\.com/[0-9]+-election/" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid non-capturing groups.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

Comment thread src/chrome/content/rules/Politico.xml Outdated
<securecookie host="^\." name="^(?:_ga|optimizely)" />
<securecookie host="^\w" name="." />

<exclusion pattern="^http://tk.politico.com/" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to escape all . chars.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deutrino would be great if you could fix this.

@J0WI
J0WI merged commit 6f1d8b7 into EFForg:master Oct 1, 2017
@deutrino
deutrino deleted the politico branch October 1, 2017 22:04
@jeremyn jeremyn mentioned this pull request Dec 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

politico.com ruleset broken

3 participants