Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Closed
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
21 changes: 11 additions & 10 deletions src/chrome/content/rules/QQ.com-mixedcontent.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
<!--

For rules not causing MCB, see QQ.xml.

Mismatch:
service.qq.com
Mismatch:
m.ac.qq.com
p.y.qq.com
service.qq.com

SSL error:
m.v.qq.com (51, "SSL: no alternative certificate subject name matches target host name 'm.v.qq.com'")

-->

<ruleset name="QQ.com (mixed content)" platform="mixedcontent">

<!-- Direct rewrites:
-->
<target host="ac.qq.com" />
<target host="888.qq.com" />
<target host="cb.qq.com" />
<target host="connect.qq.com" />
<target host="film.qq.com" />
<target host="kg.qq.com" />
<target host="nr.qq.com" />
<target host="cache.tv.qq.com" />
<target host="v.qq.com" />
<target host="m.v.qq.com" />
<target host="y.qq.com" />
<target host="p.y.qq.com" />


<securecookie host="^\w" name="." />


<rule from="^http:" to="https:" />

</ruleset>
34 changes: 11 additions & 23 deletions src/chrome/content/rules/QQ.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@
- cdn.wetest ²
- img1.write ²
- y ³
- y ²

- i.y ²
- m.y ² ³
Expand Down Expand Up @@ -241,7 +242,7 @@
<ruleset name="QQ.com (partial)">
<!-- Direct rewrites:
-->
<target host="y.3g.qq.com" />
<!--target host="y.3g.qq.com" /-->
<!--target host="ac.qq.com" /-->
<target host="aq.qq.com" />
<target host="js.aq.qq.com" />
Expand All @@ -263,8 +264,7 @@
target host="gaauth.qq.com" /-->
<target host="hao.qq.com" />
<target host="igame.qq.com" />
<!-- https://github.com/EFForg/https-everywhere/issues/4516
target host="imgcache.qq.com" /-->
<target host="imgcache.qq.com" />
<target host="ke.qq.com" />
<!-- redirects to http and Mixedcontent on https://kf.qq.com/product/weixin.html :
target host="kf.qq.com" /-->
Expand Down Expand Up @@ -301,7 +301,13 @@
<target host="open.t.qq.com" />
<target host="tajs.qq.com" />
<!--target host="cache.tv.qq.com" /-->
<!--target host="v.qq.com" /-->
<target host="v.qq.com" />
<!-- Mixcontented but break nothing. -->
<exclusion pattern="^http://v\.qq\.com/(?!x/)" />
<test url="http://v.qq.com/x/cover/jj0y3okpdfg82b3/z0021zgdwqa.html" />
<test url="http://v.qq.com/x/cover/zf2z0xpqcculhcz/t001688s8yi.html" />
<test url="http://v.qq.com/movie/" />

<!--target host="m.v.qq.com" /-->
<target host="sec.video.qq.com" />
<target host="vpic.video.qq.com" />
Expand All @@ -325,25 +331,7 @@
<!--target host="y.qq.com" /-->
<!--target host="p.y.qq.com" /-->

<!-- Sets cookie without Secure:
-->
<!--test url="http://mp.weixin.qq.com/s?__biz=&amp;mid=&amp;idx=1&amp;sn=&amp;scene=1&amp;srcid=&amp;key=&amp;ascene=1&amp;uin=&amp;devicetype=&amp;version=&amp;pass_ticket=" /-->


<!-- Not secured by server:
-->
<!--securecookie host="^\.qq\.com$" name="^(device|mm_lang|pt_clientip|pt_serverip)$" /-->
<!--securecookie host="^\.aq\.qq\.com$" name="^aq_base_sid$" /-->
<!--securecookie host="^\.exmail\.qq\.com$" name="^(?:edition|mcookie|ssl_edition)$" /-->
<!--securecookie host="^\.ptlogin2\.qq\.com$" name="^(pt_local_token|pt_login_sig|uikey)$" /-->
<!--securecookie host="^\.(?:mail|r|reader)\.qq\.com$" name="^(?:edition|ssl_edition)$" /-->
<!--securecookie host="^\.ui\.ptlogin2\.qq\.com$" name="^(pt_user_id|ptui_identifier)$" /-->
<!--securecookie host="^mp\.weixin\.qq\.com$" name="^payforreadsn$" /-->
<!--securecookie host="^\.(?:wx[12]?|login\.wx2?)\.qq\.com$" name="^mm_lang$" /-->

<!-- Could we secure any of these safely?
-->
<!--securecookie host="^\.qq\.com$" name="^(mm_lang|webwxuvid)$" /-->

<securecookie host="^\w" name="." />


Expand Down