Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/chrome/content/rules/USA_Today.com-problematic.xml

This file was deleted.

122 changes: 24 additions & 98 deletions src/chrome/content/rules/USA_Today.xml
Original file line number Diff line number Diff line change
@@ -1,114 +1,40 @@

<!--
Disabled by https-everywhere-checker because:
Fetch error: http://onlinestore.usatoday.com/ => https://onlinestore.usatoday.com/: (51, "SSL: no alternative certificate subject name matches target host name 'onlinestore.usatoday.com'")

For problematic rules, see USA_Today.com-problematic.xml.

For other Gannett Company coverage, see Gannett-Company.xml.

Note: usatoday.com has a wildcard DNS record.

CDN buckets:

- css.usatoday.com.edgesuite.net
- images.usatoday.com.edgesuite.net
- usatoday30.usatoday.com.edgesuite.net
- www.usatoday.com.edgesuite.net


Nonfunctional domains:

- crosswords.usatoday.com ¹
- css.usatoday.com ²
- ee.usatoday.com ²
- games.usatoday.com ³
- images.usatoday.com ²
- puzzles.usatoday.com ³
- usatoday30.usatoday.com ²
- video-network.usatoday.com ¹

¹ Refused
² 503, akamai
³ Dropped


Problematic subdomains:

- ^ ¹
- college ²
- reg.e ³
- onlinestore ⁴
- static ⁵
- www ⁵

¹ Refused
² WordPress
³ ExactTarget
⁴ Nexternal
⁵ Akamai


Partially covered subdomains:

- (www.)? ¹ (^ → a248.e.akamai.net)
- onlinestore ²
Dropped:
- ^ (fixed by this ruleset)
- crosswords
- games
- puzzles

¹ Avoiding user-visible paths
² Pages redirect to http


Fully covered subdomains:

- offers
- portfoliotracker
- service
- videos


Mixed content:

- iframes, on:

- reg.e, static from www ¹
- www from api.recaptcha.net ²

- css, on:

- reg.e from css ⁴
- static from gannettdigital-static-web.s3.amazonaws.com ²
- reg.e, static, www from www.gannett-cdn.com ²

- Images, on:

- college from scontent-\w.cdinstagram.com ²
- www from www.gannett-cdn.com ³
- www from i.usatoday.net ⁴

¹ Not secured by us <= generates links to a248.e.akamai.net <= embeds self-relative links
² Secured by us
³ Some secured by us; others unsecurable <= 503
⁴ Unsecurable <= 503
Mismatched:
- ee (a248.e.akamai.net)
- reg.e (gannett.com)
- onlinestore (*.nexternal.com)

Redirect to HTTP:
- college
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.

Wildcard DNS

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@J0WI Done.

-->
<ruleset name="USA Today.com (partial)" default_off='failed ruleset test'>

<target host="onlinestore.usatoday.com" />
<ruleset name="USA Today.com">
<target host="usatoday.com" />
<target host="www.usatoday.com" />
<target host="css.usatoday.com" />
<target host="images.usatoday.com" />
<target host="offers.usatoday.com" />
<target host="portfoliotracker.usatoday.com" />
<target host="service.usatoday.com" />
<target host="static.usatoday.com" />
<target host="usatoday30.usatoday.com" />
<target host="video-network.usatoday.com" />
<target host="videos.usatoday.com" />
<!--
news/ points links to akamai.net/$

global-plain.css links to resources relative to /

<exclusion pattern="^http://www\.usatoday\.com/(?:global-plain\.css|news/)" /-->


<rule from="^http://onlinestore\.usatoday\.com/Net/"
to="https://www.nexternal.com/Net/" />
<target host="usatodayw7vu5egc.onion" />

<rule from="^http:"
to="https:" />
<securecookie host=".+" name=".+" />

<rule from="^http://usatoday\.com/" to="https://www.usatoday.com/" />
<rule from="^http:" to="https:" />
</ruleset>