Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Closed
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
15 changes: 15 additions & 0 deletions src/chrome/content/rules/Dragonsmoke.cloud.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
Nonfunctional hosts in *.dragonsmoke.cloud:

h: http redirect
m: certificate mismatch
r: connection refused
s: self-signed certificate
t: timeout on https
-->
<ruleset name="Dragonsmoke.cloud">
<target host="dragonsmoke.cloud" />
<target host="www.dragonsmoke.cloud" />

<rule from="^http://(www\.)?dragonsmoke\.cloud/" to="https://www.dragonsmoke.cloud/" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why are you forcing to redirect to the www subdomain? HTTP is working on both and the redirect works on the servers side.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

The server redirects you to www no matter what, so there's no reason we should redirect to the non-www version. Might as well just skip straight to www.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

</ruleset>