Skip to content

Commit 8c35283

Browse files
committed
[City of Portland, OR] Changed redirect rules to a more preferable format and removed an unneeded test URL
1 parent 2534c3c commit 8c35283

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/chrome/content/rules/CityofPortland.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
<securecookie host="^www\.portlandoregon\.gov$"
1010
name=".+" />
1111

12-
<test url="https://portlandonline.com/" />
13-
14-
<rule from="^(http://(?:www\.)?|https://)portlandonline\.com/"
15-
to="https://www.portlandonline.com/"/>
16-
<rule from="^http://(www\.)?portlandoregon\.gov/"
17-
to="https://$1portlandoregon.gov/" />
12+
<rule from="^http://portlandonline\.com/"
13+
to="https://www.portlandonline.com/" />
14+
<rule from="^http:"
15+
to="https:" />
1816
</ruleset>

0 commit comments

Comments
 (0)