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
37 changes: 6 additions & 31 deletions src/chrome/content/rules/Portugal.gov.pt.xml
Original file line number Diff line number Diff line change
@@ -1,37 +1,12 @@
<!--
Other Governo Português rulesets:

- GovernoPortugues-mismatches.xml


portugal.gov.pt.edgesuite.net


^: refused
www: Akamai

+ GovernoPortugues-mismatches.xml
-->
<ruleset name="Portugal.gov.pt" default_off="mismatched">

<!-- Direct rewrites:
-->
<target host="www.portugal.gov.pt" />

<!-- Complications:
-->
<ruleset name="Portugal.gov.pt">
<target host="portugal.gov.pt" />
<target host="www.portugal.gov.pt" />

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.

historico.portugal.gov.pt
www.historico.portugal.gov.pt

<target host="historico.portugal.gov.pt" />
<target host="www.historico.portugal.gov.pt" />

<exclusion pattern="^http://www\.portugal\.gov\.pt/PortalMovel/" />

<test url="http://www.portugal.gov.pt/PortalMovel/" />


<!-- Redirect drops path and args
-->
<rule from="^http://portugal\.gov\.pt/.*"
to="https://www.portugal.gov.pt/" />

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

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