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

Commit

Permalink
Hotfix: Amend Google.tld_Subdomains.xml Cookie Rule (#19907)
Browse files Browse the repository at this point in the history
* Amend cookie rule

Issue #19877

* Add coverage
  • Loading branch information
zoracon authored Feb 4, 2021
1 parent dd06579 commit 625773d
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/chrome/content/rules/Google.tld_Subdomains.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,35 @@
<target host="scholar.google.com.*" />
<target host="translate.google.com.*" />

<securecookie host="^(accounts|adwords|cse|m|maps|picasaweb|translate)\.google\.[\w.]{2,6}$" name=".+" />
<securecookie host="^(adwords|cse|m|maps|picasaweb|translate)\.google\.[\w.]{2,6}$" name=".+" />

<rule from="^http://(accounts|adwords|cse|finance|groups|id|images|lh\d|m|maps|news|picasaweb|scholar|translate)\.google\.((com?\.)?\w{2,3})/"
to="https://$1.google.$2/" />
<test url="http://accounts.google.ca/" />
<test url="http://accounts.google.com/" />
<test url="http://accounts.google.com.au/" />
<test url="http://accounts.google.com.mx/" />
<test url="http://accounts.google.com.ge/" />
<test url="http://accounts.google.com.cy/" />
<test url="http://accounts.google.com.af/" />
<test url="http://accounts.google.com.et/" />
<test url="http://accounts.google.com.lb/" />
<test url="http://accounts.google.com.ai/" />
<test url="http://adwords.google.ca/" />
<test url="http://adwords.google.com/" />
<test url="http://adwords.google.com.au/" />
<test url="http://adwords.google.com.mx/" />
<test url="http://adwords.google.com.pk/" />
<test url="http://adwords.google.com.cn/" />
<test url="http://adwords.google.com.ru/" />
<test url="http://adwords.google.com.ph/" />
<test url="http://adwords.google.com.sg/" />
<test url="http://adwords.google.com.vn/" />
<test url="http://cse.google.ca/" />
<test url="http://cse.google.com/" />
<test url="http://cse.google.com.au/" />
<test url="http://cse.google.au/" />
<test url="http://cse.google.ge/" />
<test url="http://cse.google.af/" />
<test url="http://finance.google.ca/" />
<test url="http://finance.google.com/" />
<test url="http://finance.google.co.uk/" />
Expand Down

0 comments on commit 625773d

Please sign in to comment.