Skip to content

Commit 767bf31

Browse files
injustJ0WI
authored andcommitted
Create ruleset: ChemSpider.com (EFForg#15418)
* Create ruleset: ChemSpider.com * Move ChemSpider.com into a new ruleset * Add securecookie rule * Update ruleset: Royal Society of Chemistry Removed rcsweb.org: Invalid certificate for all subdomains * Delete Royal-Society-of-Chemistry-mismatches.xml * Add targets
1 parent 789dd6a commit 767bf31

3 files changed

Lines changed: 44 additions & 35 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<ruleset name="ChemSpider.com">
2+
<target host="chemspider.com" />
3+
<target host="www.chemspider.com" />
4+
<target host="chemsynthesis.chemspider.com" />
5+
<target host="cssp.chemspider.com" />
6+
<target host="cvsp.chemspider.com" />
7+
<target host="onschallenge.chemspider.com" />
8+
<target host="parts.chemspider.com" />
9+
<target host="pharmasea.chemspider.com" />
10+
<target host="rdf.chemspider.com" />
11+
12+
<securecookie host="^(?:.*\.)?chemspider\.com$" name=".+" />
13+
14+
<rule from="^http:" to="https:" />
15+
</ruleset>

‎src/chrome/content/rules/Royal-Society-of-Chemistry-mismatches.xml‎

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
1-
<!-- Problematic domains handled in Royal-Society-of-Chemistry-mismatches.xml
2-
3-
nonfunctional: blogs, pubs, www.
4-
5-
www redirects to http, even images, even the shop!
6-
7-
pubs and www: passwords, logins, details - all plain text.
8-
There's a nice gif of a padlock though. Must be secure plain text.
1+
<!--
2+
Active mixed content:
3+
- cds.rsc.org
4+
5+
Connection closed:
6+
- feeds.rsc.org
7+
8+
Empty response:
9+
- pubs.rsc.org
10+
11+
Invalid certificate:
12+
- blogs.rsc.org
13+
- ilab.cds.rsc.org
14+
- jobs.rsc.org
15+
- prospect.rsc.org
16+
17+
Redirects to HTTP:
18+
- rsc.org
19+
- www.rsc.org
20+
- spectraschool.rsc.org
21+
22+
Timed out:
23+
- ebook.rsc.org
24+
- my.rsc.org
25+
- xlink.rsc.org
926
-->
10-
<ruleset name="Royal Society of Chemistry (partial)" platform="mixedcontent">
11-
12-
<target host="chemspider.com"/>
13-
<target host="*.chemspider.com"/>
14-
<target host="rsc.org"/>
15-
<target host="carousel.rsc.org"/>
16-
<target host="rscweb.org"/>
17-
<target host="www.rscweb.org"/>
18-
19-
<securecookie host="^(?:.*\.)?chemspider\.com$" name=".+" />
20-
<securecookie host="^(?:carousel|members)\.rsc\.org$" name=".+" />
21-
22-
<rule from="^http://([\w-]+\.)?chemspider\.com/"
23-
to="https://$1chemspider.com/"/>
24-
25-
<rule from="^http://(?:rsc|(?:www\.)?rscweb)\.org/"
26-
to="https://www.rsc.org/"/>
2727

28-
<rule from="^http://(carousel|members)\.rsc\.org/"
29-
to="https://$1.rsc.org/"/>
28+
<ruleset name="Royal Society of Chemistry">
29+
<target host="eic.rsc.org" />
30+
<target host="members.rsc.org" />
3031

32+
<rule from="^http:" to="https:" />
3133
</ruleset>

0 commit comments

Comments
 (0)