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

Run node utils/trivialize-rules/trivialize-cookie-rules.js #17578

Merged
merged 7 commits into from
Mar 21, 2019
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
11 changes: 4 additions & 7 deletions src/chrome/content/rules/AIA-Surety.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<ruleset name="AIA Surety">

<target host="aiasurety.com" />
<target host="*.aiasurety.com" />
<target host="becomeanagent.aiasurety.com" />
<target host="www.aiasurety.com" />
<target host="expertbail.com" />
<target host="www.expertbail.com" />


<securecookie host="^(?:.*\.)?(?:aiasurety|expertbail)\.com$" name=".+" />
<securecookie host=".+" name=".+"/>
cschanaj marked this conversation as resolved.
Show resolved Hide resolved


<rule from="^http://((?:becomeanagent|www)\.)?aiasurety\.com/"
to="https://$1aiasurety.com/" />

<rule from="^http://(www\.)?expertbail\.com/"
to="https://$1expertbail.com/" />
<rule from="^http:" to="https:" />

</ruleset>
2 changes: 1 addition & 1 deletion src/chrome/content/rules/ARPNetworks.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<target host="*.arpnetworks.com" />


<securecookie host="^(?:.*\.)?arpnetworks\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(portal\.|www\.)?arpnetworks\.com/"
Expand Down
4 changes: 1 addition & 3 deletions src/chrome/content/rules/Acenet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
<target host="acenet-inc.net"/>
<target host="*.acenet-inc.net"/>
<!-- for cross-domain cookie -->

<securecookie host="^(?:.*\.)?ace-host\.net$" name=".+" />
<!-- no cookies needed for excluded pages -->
<securecookie host="^(?:.*\.)?acenet-inc\.net$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://(\w+\.)?ace-host\.net/"
to="https://$1ace-host.net/"/>
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Addison_Lee.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Fetch error: http://addisonlee.com/ => https://www.addisonlee.com/: Too many red
<target host="addisonlee.com" />
<target host="*.addisonlee.com" />

<securecookie host="^(?:.*\.)?addisonlee\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://addisonlee\.com/"
to="https://www.addisonlee.com/"/>
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Adtechus.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@


<!--securecookie host="^\.adtechus\.com$" name="^(CfP|JEB2)" /-->
<securecookie host=".*\.adtechus\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://aka-cdn-ns\.adtechus\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/AlliedMods.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<target host="alliedmods.net" />
<target host="*.alliedmods.net" />

<securecookie host="^(?:.*\.)?alliedmods\.net$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://([^/@:\.]+)\.alliedmods\.net/"
to="https://$1.alliedmods.net/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Arvixe.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<target host="*.arvixe.com" />


<securecookie host="^(?:.*\.)?arvixe\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://mail\.arvixe\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Assembla.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<target host="*.assembla.com" />


<securecookie host="^(?:.*\.)?assembla\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://((?:assets\d|nooku|(?:scala-ide-)?portfolio|svn2|trac2?|www)\.)?assembla\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Audible.de.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Fetch error: http://audible.de/ => https://www.audible.de/: Cycle detected - URL
<target host="audible.de"/>
<target host="*.audible.de"/>

<securecookie host="^(?:.*\.)?audible\.de$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://(?:www\.)?audible\.de/" to="https://www.audible.de/"/>
<rule from="^http://audible\.de/" to="https://www.audible.de/"/>
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Banque_CIC.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<target host="cic.fr" />
<target host="*.cic.fr" />

<securecookie host="^(?:.*\.)?cic\.fr$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://cic\.fr/"
to="https://www.cic.fr/"/>
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/BeNaughty.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<exclusion pattern="^http://ed\.benaughty\.com/(?!ext\.php)" />


<securecookie host="^(?:.*\.)?benaughty\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(?:www\.)?benaughty\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/BioMedCentral.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
<target host="womensmidlifehealthjournal.biomedcentral.com" />
<target host="zoologicalletters.biomedcentral.com" />

<securecookie host="^(?:.*\.)?biomedcentral\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://biomedcentral\.com/"
to="https://www.biomedcentral.com/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Brainshark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<target host="brainshark.com"/>
<target host="www.brainshark.com"/>

<securecookie host="^(?:.*\.)?brainshark\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://presentation\.brainshark\.com/company/contact_us\.(?:aspx|php)(?:$|\?.*)"
to="https://www.brainshark.com/contact-us" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/CERT-Bund.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<target host="cert-bund.de" />
<target host="*.cert-bund.de" />

<securecookie host="^(?:.*\.)?cert-bund\.de$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://cert-bund\.de/"
to="https://www.cert-bund.de/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/CERT.at.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<target host="cert.at" />
<target host="*.cert.at" />

<securecookie host="^(?:.*\.)?cert\.at$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://cert\.at/"
to="https://www.cert.at/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Carl_Zeiss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<target host="*.zeiss.com" />


<securecookie host=".+\.zeiss\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://applications\.zeiss\.com/\??$"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<target host="opensecrets.org"/>
<target host="*.opensecrets.org"/>

<securecookie host="^(?:.*\.)?opensecrets\.org$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://(?:www\.)?opensecrets\.org/"
to="https://www.opensecrets.org/"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Fetch error: http://cpni.gov.uk/ => https://www.cpni.gov.uk/: (6, 'Could not res
<target host="cpni.gov.uk" />
<target host="*.cpni.gov.uk" />

<securecookie host="^(?:.*\.)?cpni\.gov\.uk$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://cpni\.gov\.uk/"
to="https://www.cpni.gov.uk/" />
Expand Down
13 changes: 6 additions & 7 deletions src/chrome/content/rules/Chitika.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@
<ruleset name="Chitika (partial)">

<target host="chitika.com" />
<target host="*.chitika.com" />
<target host="www.chitika.com" />
<target host="affiliate.chitika.com" />
<target host="blog.chitika.com" />
<target host="publishers.chitika.com" />


<securecookie host="^(?:.*\.)?chitika\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(www\.)?chitika\.com/"
to="https://$1chitika.com/" />

<rule from="^http://(affiliate|blog|publishers)\.chitika\.com/"
to="https://$1.chitika.com/" />
<rule from="^http:" to="https:" />

</ruleset>
2 changes: 1 addition & 1 deletion src/chrome/content/rules/CloudSigma.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Fetch error: http://cloudsigma.com/ => https://cloudsigma.com/: (60, 'SSL certif
<target host="*.cloudsigma.com" />


<securecookie host="^(?:.*\.)?cloudsigma\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://((?:autodetect|www|zrh|gui\.zrh)\.)?cloudsigma\.com/"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<target host="www.stv.columbia.edu" />


<securecookie host="^.+\.columbia\.edu$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(?:www\.)?(cdrs|stv)\.columbia\.edu/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Comparis.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ruleset name="Comparis.ch">
<target host="comparis.ch" />
<target host="*.comparis.ch" />
<securecookie host="^(?:.*\.)?comparis\.ch$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://comparis\.ch/"
to="https://www.comparis.ch/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Covisint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Non-2xx HTTP code: http://covisint.com/ (200) => https://covisint.com/ (500)
<target host="*.covisint.com" />


<securecookie host="^(?:.*\.)?covisint\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(portal\.|www\.)?covisint\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Cyberstreetwise.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<target host="cyberstreetwise.com" />
<target host="*.cyberstreetwise.com" />

<securecookie host="^(?:.*\.)?cyberstreetwise\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://cyberstreetwise\.com/"
to="https://www.cyberstreetwise.com/" />
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Demand-Base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Fetch error: http://leads.demandbase.com/ => https://leads.demandbase.com/: (6,
<!--securecookie host="^auth\.demandbase\.com$" name="^AWSELB$" /-->
<!--securecookie host="^www\.demandbase\.com$" name="^PHPSESSID$" /-->

<securecookie host="^(?:.*\.)?demandbase\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<!-- Redirect keeps forward
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Deposit-Files.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<target host="depositfiles.com"/>
<target host="*.depositfiles.com"/>

<securecookie host="^(?:.*\.)?depositfiles\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://(static\d+\.|www\.)?depositfiles\.com/"
to="https://$1depositfiles.com/"/>
Expand Down
16 changes: 8 additions & 8 deletions src/chrome/content/rules/EPB.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<ruleset name="EPB">

<target host="epb.net" />
<target host="*.epb.net" />
<target host="livehelp.epb.net" />
<target host="www.epb.net" />
<target host="epbfi.com" />
<target host="*.epbfi.com" />
<target host="mail.epbfi.com" />
<target host="livehelp.epbfi.com" />
<target host="phone.epbfi.com" />
<target host="www.epbfi.com" />


<securecookie host="^(?:.*\.)?epb(?:\.net|fi\.com)$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(livehelp\.|www\.)?epb\.net/"
to="https://$1epb.net/" />

<rule from="^http://((?:mail|livehelp|phone|www)\.)?epbfi\.com/"
to="https://$1epbfi.com/" />
<rule from="^http:" to="https:" />

</ruleset>
4 changes: 1 addition & 3 deletions src/chrome/content/rules/Eloqua-mismatches.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
-->
<target host="www.useitandsee.com" />


<securecookie host=".*\.eloqua\.com$" name=".+" />
<securecookie host="(?:.*\.)?useitandsee\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://www\.useitandsee\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Elsevier_Health.com.au.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<target host="www.elsevierhealth.com.au" />


<securecookie host="(?:.*\.)?elsevierhealth\.com\.au$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(?:www\.)?elsevierhealth\.com\.au/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Elsevier_Health.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Fetch error: http://www.elsevierhealth.com/ => https://www.elsevierhealth.com/:
<!--exclusion pattern="^http://secure\.jbs\.elsevierhealth\.com/$" /-->


<securecookie host="(?:.*\.)?elsevierhealth\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http:"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/ExactTarget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
-->
<!--securecookie host="^3sixty\.exacttarget\.com$" name="^(\.ASPXANONYMOUS|language)$" /-->

<securecookie host="^(?:.*\.)?exacttarget\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<!-- Cert doesn't match !www. -->
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/FilmTrack.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<target host="*.filmtrackonline.com" />


<securecookie host="^.+\.filmtrackonline\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://([\w-]+)\.filmtrackonline\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/FireHost.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Fetch error: http://firehost.com/ => http://firehost.com/: (60, 'SSL certificate
<target host="*.firehost.com"/>
<exclusion pattern="^http://www\.firehost\.com/(?:company|compare|customers|details/[\w\-]+\w|secure-hosting(?:/[^/]?/)?|solutions)?$"/>

<securecookie host="^(?:.*\.)?firehost\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<rule from="^http://(www\.)?firehost\.com/(/_CaptchaImage\.axd|assets/|cart|company/contact|partners|protected/|secure-hosting/[\w\-]+/configure)"
to="https://$1firehost.com/$1"/>
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Frys.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<target host="*.frys.com" />


<securecookie host="^.*\.frys\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<!-- Guilty of giving ExtremeTech http
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Hackerschool.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<target host="hackerschool.com"/>
<target host="*.hackerschool.com"/>

<securecookie host="^(?:.*\.)?hackerschool\.com$" name=".+" />
<securecookie host=".+" name=".+"/>

<!-- cert from redirector.zerigo.net -->
<rule from="^http://hackerschool\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/Hidemyass.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- ^.
- ^affiliate
-->
<securecookie host="^(?:.*\.)?hidemyass\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<!-- cert !valid for !www -->
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/HootSuite.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<!--securecookie host="^hootsuite\.com$" name="^eZSESSID$" /-->
<!--securecookie host="^feedback\.hootsuite\.com$" name="^(_rf|_session_id)$" /-->

<securecookie host="^(?:.*\.)?hootsuite\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<rule from="^http://(?:s7\.)?static\.hootsuite\.com/"
Expand Down
2 changes: 1 addition & 1 deletion src/chrome/content/rules/HostDime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Fetch error: http://forum.hostdime.com/ => https://forum.hostdime.com/: (6, 'Cou
-->
<!--securecookie host="^www\.hostdime\.com$" name="^PHPSESSID$" /-->

<securecookie host="^(?:.*\.)?hostdime\.com$" name=".+" />
<securecookie host=".+" name=".+"/>


<!-- Redirect drops path and forward
Expand Down
Loading