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

Update Ruleset for Comic Con #16545

Merged
merged 3 commits into from
Sep 25, 2018
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
22 changes: 10 additions & 12 deletions src/chrome/content/rules/Comic-Con-Intl.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<ruleset name="Comic-Con International">
<target host="comic-con.net" />
<target host="www.comic-con.net" />
<target host="comic-con.org" />
<target host="secure.comic-con.org" />
<target host="secure2.comic-con.org" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Please keep secure.comic-con.org and secure2.comic-con.org

<target host="www.comic-con.org" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add:

exclusives.comic-con.org
portals.comic-con.org
shop.comic-con.org

<target host="exclusives.comic-con.org" />
<target host="portals.comic-con.org" />
<target host="shop.comic-con.org" />

<securecookie host="^secure2?.comic-con.org$" name=".+" />

<!-- Accessing http://comic-con.org/rss/ may produce an error if the following rule does
not include redirection of the https://comic-con.org/ (note the https) URL -->
<rule from="^https?://comic-con\.org/" to="https://secure.comic-con.org/" />

<rule from="^http://(?:www\.)?comic-con\.(?:net|org)/" to="https://secure.comic-con.org/" />
<!--
In case there are still links out there that have these targets,
they can redirect properly
-->
<target host="secure.comic-con.org" />
<target host="secure2.comic-con.org" />

<rule from="^http://(secure2?)\.comic-con\.(net|org)/" to="https://$1.comic-con.org/" />
<rule from="^http:" to="https:" />
</ruleset>