Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Merged
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
40 changes: 24 additions & 16 deletions src/chrome/content/rules/Komoona.com.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,40 @@

At least some pages redirect to http.

TLS not supported on:
- test.komoona.com - self-signed
-->
<ruleset name="Komoona.com (partial)">

<target host="komoona.com" />
<target host="*.komoona.com" />
<!--
Redirect to http:
-->
<!--exclusion pattern="^http://www\.komoona\.com/+($|\?)" /-->
<!--
Exceptions:
-->
<exclusion pattern="^http://www\.komoona\.com/+(?!favicon\.ico|new/css/|new/images/)" />

<target host="a.komoona.com" />
<target host="a1.komoona.com" />
<target host="a2.komoona.com" />
<target host="a3.komoona.com" />
<target host="a4.komoona.com" />
<target host="admin.komoona.com" />
<target host="cdn.komoona.com" />
<target host="cs.komoona.com" />
<target host="e1.komoona.com" />
<target host="e2.komoona.com" />
<target host="s.komoona.com" />
<target host="stat.komoona.com" />
<target host="w.komoona.com" />
<target host="www.komoona.com" />

<exclusion pattern="^http://www\.komoona\.com/(?!favicon\.ico|new/css/|new/images/)" />

<test url="http://www.komoona.com/" />
<test url="http://www.komoona.com/favicon.ico" />
<test url="http://www.komoona.com/new/css" />
<test url="http://www.komoona.com/new/images" />

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Then you need to add 3 more test urls that match the exclusion.

FYI, only https://www.komoona.com redirects to http. The other pages have a font is blocked but it doesn't look broken. I am not a official reviewer, but I would suggest just exclude ^http://www\.komoona\.com/$

<!-- Not secured by server:
-->
<!--securecookie host="^(a|stat)\.komoona\.com$" name="^AWSELB$" /-->

<securecookie host="^(?:a|stat)\.komoona\.com$" name=".+" />


<rule from="^http://((?:a|admin|stat|www)\.)?komoona\.com/"
to="https://$1komoona.com/" />

<rule from="^http://cdn\.komoona\.com/"
to="https://dimrh7ecexr02.cloudfront.net/" />
<rule from="^http:" to="https:"/>

</ruleset>